Including auto-cpufreq with the all the images(feature request)

Can we get a way to install auto-cpufreq which monitors the load,battery and all this things to automatically adjust the cpu frequency which works wonders for the battery life.
it can be implement in the ujust command, something like “ujust auto-cpufreq”.
otherwise having a great experience using aurora!

1 Like

While not quite the same, you can set the CPU frequency and CPU powersaving policy flags yourself via a script. I have these run when KDE switches between battery and AC.

By doing the below I was able to extend my battery life from 2 hours to 5 hours.

To do this you’ll need to allow passwordless sudo access to /usr/bin/cpupower. You will need to adjust all the below values based on the output of sudo cpupower frequency-info for your CPU.

When on battery:

#!/bin/sh

# Set KDE power profile
powerprofilesctl set power-saver

# Limit maximum CPU frequency
sudo cpupower frequency-set -g powersave -u 1.0GHz

# Set CPU policy - maximum power saving
sudo cpupower set -b 15

When on AC:

#!/bin/sh

# Set KDE power profile
powerprofilesctl set balanced

# Set maximum CPU frequency
sudo cpupower frequency-set -g performance -u 4.10GHz

# Set CPU policy - balanced
sudo cpupower set -b 7

To add passwordless sudo access to cpupower, run sudo visudo, then add at the bottom:

ALL ALL=NOPASSWD: /usr/bin/cpupower
2 Likes

That would be great. Could be a feature for the laptops’ iso