How to check powerdevil status in Plasma?

During my research of suspend and hibernation issues, I came across command to check status of powerdevil in Plasma:

michaldybczak  Sirius16-Manjaro  ~  sudo systemctl --user status plasma-powerdevil.service
Failed to connect to bus: No medium

This was from 2023 on Arch so it couldn’t be that different now in Manjaro, but just to test it out, I tried:

sudo systemctl status plasma-powerdevil.service
Unit plasma-powerdevil.service could not be found.
sudo systemctl status plasma-powerdevil
Unit plasma-powerdevil.service could not be found.

sudo systemctl status powerdevil
Unit powerdevil.service could not be found.

I do have powerdevil installed:

sudo pacman -Qs powerdevil
local/powerdevil 5.27.10-2 (plasma)
    Manages the power consumption settings of a Plasma Shell

Power saving settings in Plasma seems to work fine.

What am I missing?

$ pacman -Ql powerdevil | grep service

powerdevil /usr/lib/systemd/user/plasma-powerdevil.service
powerdevil /usr/share/dbus-1/system-services/
powerdevil /usr/share/dbus-1/system-services/org.kde.powerdevil.backlighthelper.service
powerdevil /usr/share/dbus-1/system-services/org.kde.powerdevil.chargethresholdhelper.service
powerdevil /usr/share/dbus-1/system-services/org.kde.powerdevil.discretegpuhelper.service
$ systemctl --user status plasma-powerdevil

● plasma-powerdevil.service - Powerdevil
     Loaded: loaded (/usr/lib/systemd/user/plasma-powerdevil.service; static)
     Active: active (running) since Sat 2024-02-17 15:27:41; 9h ago
   Main PID: 1543 (org_kde_powerde)
      Tasks: 8 (limit: 16547)
     Memory: 25.2M (peak: 26.2M)
        CPU: 5.657s
     CGroup: /user.slice/user-1000.slice/user@1000.service/background.slice/plasma-powerdevil.service
             └─1543 /usr/lib/org_kde_powerdevil
[...]

LOL, the solution was to NOT USE sudo… :wink:

That was a quickie :stuck_out_tongue:

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