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
  Battery life: Maybe really a hardware issue? KNERD 24 626 3 hours ago
Last Post: KNERD
  Battery level fluctuating wildly thelawnoob 3 779 05-12-2021, 02:22 AM
Last Post: kqlnut
  Why use x000 mAh instead of x Ah in battery specs? Why no use Coulombs, (SI)? mitcoes 0 486 03-26-2021, 03:29 AM
Last Post: mitcoes
  battery and charging submariner 4 954 03-01-2021, 12:16 PM
Last Post: theD0ctor
  Plasma Mobile CE Pinephone - battery not fully charging PineSupporter 11 2,546 02-09-2021, 11:20 AM
Last Post: PineSupporter
  Battery life status: now, and future prospects? displacefish 12 4,178 12-16-2020, 02:56 PM
Last Post: Gary2003
  cad files for rear case/battery upgrade dallytaur 5 1,920 11-19-2020, 07:19 PM
Last Post: wibble
  Pinephone Solar Project Battery Extension 10000mAh Diyoshi 0 1,129 10-28-2020, 05:29 AM
Last Post: Diyoshi
  Help with battery! marksibly 3 1,890 09-12-2020, 09:36 AM
Last Post: desca
  new pinephone received with no battery? senorsmile 4 2,334 09-02-2020, 10:16 PM
Last Post: rocket2nfinity

Forum Jump:


Users browsing this thread: 1 Guest(s)