PINE64
auto-cpufreq for better battery? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127)
+--- Thread: auto-cpufreq for better battery? (/showthread.php?tid=11725)



auto-cpufreq for better battery? - Sciancisco - 10-04-2020

I just came across this utility called auto-cpufreq.

I admitedly don't know much about how the kernel manages the cpu frequency. However the consensus seems to be that Linux not efficient regarding to power consumption, at least by default on most distros.

So this utility monitors the cpu usage and system load and changes the governor, cpu max frequency and boost to the lowest suitable settings.
A demo by the creator: https://www.youtube.com/watch?v=QkYRpVEEIlg

According to Jason from Linux for Everyone, it increased its battry life on his laptop by 2 hours peak. (Source)

I don't know how much current distro do to optimize power consumption on the PinePhone. I know there is CRUST but if I understood correctly it's mainly for when device is sleeping not actively doing something.

It may also help with some heat issues since if the cpu is going slower it produces less heat.

It might even help the Pinebook Pro and Pinetab.

Anyway, I'm putting this here in hope of helping someone somewhere.


RE: auto-cpufreq for better battery? - LazLong - 10-04-2020

(10-04-2020, 10:47 AM)Sciancisco Wrote: I just came across this utility called auto-cpufreq.

I admitedly don't know much about how the kernel manages the cpu frequency. However the consensus seems to be that Linux not efficient regarding to power consumption, at least by default on most distros.

So this utility monitors the cpu usage and system load and changes the governor, cpu max frequency and boost to the lowest suitable settings.
A demo by the creator: https://www.youtube.com/watch?v=QkYRpVEEIlg

According to Jason from Linux for Everyone, it increased its battry life on his laptop by 2 hours peak. (Source)

I don't know how much current distro do to optimize power consumption on the PinePhone. I know there is CRUST but if I understood correctly it's mainly for when device is sleeping not actively doing something.

It may also help with some heat issues since if the cpu is going slower it produces less heat.

It might even help the Pinebook Pro and Pinetab.

Anyway, I'm putting this here in hope of helping someone somewhere.
=====================================================
I am not expert in CPU/Battery management either but this is interesting. Thanks for this.

I assume this Github project is the same utility
https://github dot com/AdnanHodzic/auto-cpufreq

and this March 2020 article from Ostechnix
https://ostechnix dot com/automatically-optimize-cpu-speed-and-power-with-auto-cpufreq-in-linux/


RE: auto-cpufreq for better battery? - LinAdmin2 - 10-05-2020

The first thing to consider is optimal configuration of all parameters of an existing software system. The main consumers of power are the Quectel modem, WiFi chip, bluethooth and display.

When these are optimized, a standby time of 24 hours is possible.

In normal operation a cpu-governor already manages the voltage and clock frequency of the CPU's in such a way that upon low demand of CPU activity clocks are appropriately set to a minimum.

There is no use for additional strategies before all the basic problems are solved.
After that, the mentioned package might eventually be considered.