Happy New Year!
I’ve been using the PinePhone 1.2 to develop
synit recently. I haven’t done anything about power management
or sleeping yet, and I wondered how bad the battery life might be, so last night I ran the
following script from a full battery until the phone shut down from lack of power:
1
2
3
4
5
6
7
while true
do
date
cat /sys/class/power_supply/axp20x-battery/capacity
sleep 60
sync
done | tee -a battery-rundown-log
Here is the resulting discharge curve (data):
Before running the script, I turned off the display and backlight,
1
2
3
4
5
6
# Puts the framebuffer in "graphics" mode, disabling touchscreen
# sens