Spyke

Replies

Comment on

Fairphone 6 + PostmarketOS review

Reply in thread

I used this script:

#!/bin/sh
LABEL="${1:-test}"; DUR="${2:-60}"; INT=2
B=/sys/class/power_supply/qcom-battmgr-bat
G=/sys/class/devfreq/3d00000.gpu
GMAX=$(cat "$G/max_freq")
TMP=$(mktemp)
cpu_snap() { awk '/^cpu /{idle=$5+$6;t=0;for(i=2;i<=NF;i++)t+=$i;print idle, t}' /proc/stat; }
cap0=$(cat "$B/capacity"); cpu0=$(cpu_snap)
t_end=$(( $(date +%s) + DUR ))
while [ "$(date +%s)" -lt "$t_end" ]; do
  echo "$(cat $B/current_now) $(cat $B/voltage_now) $(cat $G/cur_freq)" >> "$TMP"
  sleep "$INT"
done
cap1=$(cat "$B/capacity"); cpu1=$(cpu_snap)
awk -v label="$LABEL" -v dur="$DUR" -v gmax="$GMAX" -v cap0="$cap0" -v cap1="$cap1" \
    -v cpu0="$cpu0" -v cpu1="$cpu1" -v mah=4415 '
{ i=$1; if(i<0)i=-i; sI+=i; sV+=$2; sG+=$3; n++ }
END{
  if(n==0){print "no samples"; exit}
  aI=sI/n/1000; aV=sV/n/1e6; aW=aI/1000*aV; aG=sG/n/1e6;
  pph=aI/mah*100; rt=(pph>0)?100/pph:0;
  split(cpu0,a," "); split(cpu1,b," "); di=b[1]-a[1]; dt=b[2]-a[2];
  cpu=(dt>0)?100*(1-di/dt):0;
  printf "TEST: %s  (%ds, %d samples)\n", label, dur, n;
  printf "  Power draw : %.2f W   (%.0f mA @ %.2f V)\n", aW, aI, aV;
  printf "  Drain rate : %.1f %%/hr  (~%.1f h from full)\n", pph, rt;
  printf "  CPU usage  : %.1f %%\n", cpu;
  printf "  GPU        : %.0f MHz  (%.0f%% of %.0f MHz max)\n", aG, aG/(gmax/1e6)*100, gmax/1e6;
  printf "  Capacity   : %d%% -> %d%%  (delta %d%%)\n", cap0, cap1, cap0-cap1;
}' "$TMP" | tee /tmp/battest_last.txt
rm -f "$TMP"

Comment on

Fairphone 6 + PostmarketOS review

Reply in thread

The one shown in the photos is plasma mobile, it's one of the default DE (or ME in this case?) that comes with postmarketos.

I've also tried phosh, it's more lightweight and runs a bit better, but that matters more on constrained hardware and the FP6 runs plasma mobile with no peformance issues.

plasma mobile is the most comparable to other mobile UI like android ofcourse they are cosmetically different but it functions mostly the same.

piracy

Comment on

*Permanently Deleted*

Streaming services really have become the poster child of enshittifcation. My last experience with netflix:

  • Resolution seems a bit blurry
  • hmmm ok maybe it set to 720p
  • Open the settings, options are high, auto, and data saver.
  • Whatever happend to just selecting the resolution?
  • Have to search on reddit for some obscure key combination that opens the debug menu
  • shows 720p
  • opens first support ticket
  • support agent says to contact "the manufacturer of my device", upon asking with "the manufacturer of my device" (pc) if he means intel, nvdia, or asus he just says "whoever made your device" and closes the ticket
  • open second support ticket
  • after some useless back and forth they eventually send an obscure netflix support article that full hd and above is not supported on linux
  • immediately cancel because as a paying customer you get a worse experiance then the pirates who get 4k with no issues

And netflix is "generous" to give 720p, i think disney plus maxes out at 360p without DRM, atleast that's what it looks like because they also use vague terms like "high" and don't have a resolution setting.

Comment on

*Permanently Deleted*

Ive always wondered how it is ever planned to enforce it, is a police team going to bust down my door:

PUT THE UNBACKDOORED LIBSSL DOWN!

Sure companies like meta will comply instantly but everyone that doesn't use big tech (including criminals) can just continue doing whatever? Why would criminals the one the law claims to stop use backdoored clients?