PINE64
Battery charge threshold - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Battery charge threshold (/showthread.php?tid=13615)



Battery charge threshold - xNix - 04-11-2021

Is there any way to set battery charge threshold to something like 80% or so?

For example, ThinkPads have such option to set battery charge threshold:
Code:
echo 60 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh

I did not see similar options for the Pinebook Pro, so I tried to search in the arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts kernel file, but the only thing close to a battery charge limit I've found was this:
Code:
charge-full-design-microamp-hours = <9800000>;

I guess I could lower it and probably achieve such effect, but maybe there is a better solution than lying to the system about the actual battery design full charge?


RE: Battery charge threshold - Damon - 04-17-2021

I'm interested in this too. I had previously looked into it and was convinced it's a hardware feature that is unusual. Seems silly when it's well known that batteries live longer with charge limits and there are phone apps that do it.