auto-cpufreq for better battery?
#1
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.
#2
(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/
#3
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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Does PinePhone support long-term battery health optimization? roseblack 1 352 Yesterday, 09:53 PM
Last Post: evilbunny
  Fix Fake 0% Battery(charged with USB power) Shutdown biketool 0 1,883 04-17-2025, 04:11 AM
Last Post: biketool
  cpupower-gui profiles and battery life biketool 5 3,872 03-28-2025, 05:38 AM
Last Post: biketool
  Battery life suggestion aular2 2 2,204 08-05-2024, 09:06 PM
Last Post: aular2
  Megi's Kernel and Battery Life biketool 3 4,044 01-09-2023, 11:33 PM
Last Post: Canyonless
  PinePhone Pro battery life Barugon 17 23,498 07-29-2022, 09:23 AM
Last Post: prog-amateur
  postmarketOS fixed battery issues Deadladyofclowntown 1 3,012 06-23-2022, 02:44 PM
Last Post: zer0sig
  Phone won't suspend, battery drains quickly nelstomlinson 12 12,408 04-05-2022, 06:11 AM
Last Post: Anna
  The modem switch affects the connection to battery? JohnDoe 2 3,745 03-30-2022, 12:02 AM
Last Post: JohnDoe
  improve battery life on pine phone beta? taoschx 0 1,826 02-28-2022, 06:24 AM
Last Post: taoschx

Forum Jump:


Users browsing this thread: 1 Guest(s)