linrunner / TLP

TLP - Optimize Linux Laptop Battery Life
https://linrunner.de/tlp
GNU General Public License v2.0
2.51k stars 129 forks source link

`energy_performance_preference` is not set with `CPU_ENERGY_PERF_POLICY` #732

Closed 0xdeafbeef closed 3 months ago

0xdeafbeef commented 3 months ago

Describe the bug

/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference

is not set with

CPU_ENERGY_PERF_POLICY_ON_BAT=balance_power

I can set it manualy with

for file in /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference; do
    echo "balance_power" | sudo tee "$file"
done

https://gist.github.com/0xdeafbeef/e4a79dc51d3c7a9d8165cf98e1c36000

power-profiles-daemon is removed

linrunner commented 3 months ago

For EPP with AMD you will need at least TLP version 1.6.

See https://github.com/linrunner/TLP/blob/main/changelog#L97

0xdeafbeef commented 3 months ago

Thank you!

0xdeafbeef commented 3 months ago

@linrunner, sorry, do you maintain the Fedora package? If so, could you release the 1.6.0 version?

linrunner commented 3 months ago

@0xdeafbeef Sorry, I do not maintain any distribution packages.