Power Management in KDE doesn't working

I have Intel CPU i5-11400 and when trying to change power plan in KDE tray menu in Power Management tab it says “Not available”.

In terminal powerprofilesctl

  performance:
  CpuDriver:	intel_pstate
  Degraded:   no

* balanced:
    CpuDriver:	intel_pstate
    PlatformDriver:	placeholder

  power-saver:
    CpuDriver:	intel_pstate
    PlatformDriver:	placeholder

Changing profiles through terminal works, but why PlatformDriver is placeholder?

I tried reinstalling power-profiles-daemon but it didn’t help.

The service is running

sudo systemctl status power-profiles-daemon

● power-profiles-daemon.service - Power Profiles daemon
     Loaded: loaded (/usr/lib/systemd/system/power-profiles-daemon.service; enabled; preset: disabl>
     Active: active (running) since Tue 2024-09-10 15:12:53 CEST; 25min ago
 Invocation: 5ef9a26dbba943e8a8dfc9d2664a6408
   Main PID: 1149 (power-profiles-)
      Tasks: 4 (limit: 38166)
     Memory: 1.5M (peak: 2.6M)
        CPU: 26ms
     CGroup: /system.slice/power-profiles-daemon.service
             └─1149 /usr/lib/power-profiles-daemon

wrz 10 15:12:53 cachyos-mafdk systemd[1]: Starting Power Profiles daemon...
wrz 10 15:12:53 cachyos-mafdk systemd[1]: Started Power Profiles daemon.
1 Like

those are mainly for laptops.

Is your system up-to-date? There was upower bug not long ago.

Yes, system is updated.

systemctl status powerdevil

❯ systemctl status powerdevil
Unit powerdevil.service could not be found.
❯ sudo pacman -Q powerdevil
powerdevil 6.1.4-1.1

EDIT:

❯ systemctl --user status plasma-powerdevil
● plasma-powerdevil.service - Powerdevil
     Loaded: loaded (/usr/lib/systemd/user/plasma-powerdevil.service; static)
     Active: active (running) since Tue 2024-09-10 16:38:40 CEST; 8min ago
 Invocation: 4b370347592b4f0794e12df25f161691
   Main PID: 939 (org_kde_powerde)
      Tasks: 9 (limit: 38166)
     Memory: 22.9M (peak: 24M)
        CPU: 1.050s
     CGroup: /user.slice/user-1000.slice/user@1000.service/background.slice/plasma-powerdevil.service
             └─939 /usr/lib/org_kde_powerdevil

wrz 10 16:38:38 cachyos-mafdk org_kde_powerdevil[939]: Options passed from client:
wrz 10 16:38:38 cachyos-mafdk org_kde_powerdevil[939]: Applying combined options:
wrz 10 16:38:39 cachyos-mafdk org_kde_powerdevil[939]: busno=2, sleep-multiplier =  1,60. Testing for supported feature 0x10 returned Error_Info[EIO in ddc_write>
wrz 10 16:38:40 cachyos-mafdk org_kde_powerdevil[939]: Library initialization complete.
wrz 10 16:38:40 cachyos-mafdk org_kde_powerdevil[939]: Watch thread started
wrz 10 16:38:40 cachyos-mafdk org_kde_powerdevil[939]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are no>
wrz 10 16:38:40 cachyos-mafdk org_kde_powerdevil[939]: org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
wrz 10 16:38:40 cachyos-mafdk systemd[744]: Started Powerdevil.
wrz 10 16:38:40 cachyos-mafdk org_kde_powerdevil[939]: org.kde.powerdevil: Handle button events action could not check for screen configuration
wrz 10 16:38:40 cachyos-mafdk org_kde_powerdevil[939]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are no>

hmm, what about systemctl status upower?

❯ systemctl status upower
● upower.service - Daemon for power management
     Loaded: loaded (/usr/lib/systemd/system/upower.service; enabled; preset: disabled)
     Active: active (running) since Tue 2024-09-10 16:38:35 CEST; 42min ago
 Invocation: 581dfca60b104caeb37643d141fb3fd9
       Docs: man:upowerd(8)
   Main PID: 638 (upowerd)
      Tasks: 4 (limit: 38166)
     Memory: 4.2M (peak: 4.7M)
        CPU: 552ms
     CGroup: /system.slice/upower.service
             └─638 /usr/lib/upowerd

wrz 10 16:38:35 cachyos-mafdk systemd[1]: Starting Daemon for power management...
wrz 10 16:38:35 cachyos-mafdk systemd[1]: Started Daemon for power management.

~

Weird… Can you confirm that it also shows not available on fresh boot? My guesses are you’re either missing a package or theres a problem elsewhere.

When you have confirmed that the problem indeed persists on a fresh boot, please run sudo cachyos-bugreport.sh.

Problem persist even after fresh boot. Here is the log:

I booted latest live iso and power management works without issues.

Can you check if its broken with the linux-cachyos-lts kernel too?

sadly on lts it’s the same :cry:

Try deleting ~/.config/powermanagementprofilesrc

I did and rebooted the system and nothing changed. Thank you very much for help but if you don’t have strength to continue this we can stop right here.

Strange is that recently I didn’t do any changes in my system beside system updates

I’m curious if reinstallation of system would help but I really don’t want to do this right now.

I did one more thing. I went to:
System Tray Settings --> Entries --> Set Power and Battery to disabled → Apply → set it back to Shown when relevant

After that slider for changing power management works again until next reboot. After reboot I have to do it again.