Power-profiles-daemon not work: if I try to change from balanced reutrn on it

Hi, I’m using EndeavourOS on a HP Envy X360 2-in-1 and Gnome 46.5, kernel 6.11.3-zen1-1-zen.
If I try to change the “Enegy mode” (that is on balanced by default) to performance or power-saver from the switch from gnome quick settings or system settings it return to balanced after less then a second. I also have tried to use comman line with: sudo powerprofilesctl set performance, but the option not change and if I do a check with powerprofilesctl get is always on balanced.
How I can fix this?
Thanks

I had the same powerprofilesctl behavior with Lenovo T490; the root cause was in laptop’s firmware that was calling kernel to keep energy consumption efficient and the result was in reverting powerprofilesctl back to balanced.

  1. make sure you have the latest firmware installed
  2. try setting scaling_governor to performance (*) and then setting powerprofilesctl to performance and observe whether it keeps it or not.
  • echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
1 Like

Yes, this work.
But ther is a way to avoid to set manualy the scayling_governator to change the power option?
Thanks

Yes, you can automate that by either passing a kernel parameter during a boot process or utilizing cpupower and its systemd service. Refer to the arch wiki, especially 3.1.3 chapter in https://wiki.archlinux.org/title/CPU_frequency_scaling

1 Like

Thank you, but after using

one time the problem is solved. Now if I change the power option from the quick settings remain and not change after a second, and also checking with powerprofilesctl get the power mod is set correctly.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.