Fedora 42: CPU governor always set to performance after resume from suspend?

Hi all!

I was following the Optimizing Fedora Battery Life guide the other day because I’m not really happy with my battery life. To check the CPU governor that’s currently used, I ran cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference and noticed that it was set to performance for all cores, even though it should have been set to power safer or balanced (can’t remember). Toggling the Gnome menu for the performance setting did switch everything back, however.

Later I noticed, that every time I suspend and resume, the CPU governor would reset to performance again. I created a screen recording to show the issue in action, though I can’t attach MP4s. In words:

  • Suspend the laptop
  • Resume the laptop
  • Run cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference
  • Everything is set to performance, even though the Gnome menu shows balanced
  • Toggle the performance mode via the Gnome menu (the dropdown thingy at the top right)
  • Run cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference again
  • It is now properly set to whatever you selected

I hope that makes sense?

I’m not really sure if this is a Fedora issue, though it seems like something on a hardware/kernel level is going wrong here.

I tried to search around, but couldn’t find anything related to it. Is this a known issue? Is there a fix?

Thanks in advance!

Edit: Sorry forgot to mention:

  • Framework Laptop 13 AMD Ryzen 7040Series
  • Fedora 42
  • Kernel 6.16.3-200.fc42.x86_64

Reproduced (same hardware/distro combination)

If you’re so inclined you can report this at https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues

Thank you, will do!

Here is the bug report:

1 Like

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