https://bugs.kde.org/show_bug.cgi?id=520617
Bug ID: 520617
Summary: PowerDevil does not suspend when non-media
applications (e.g. Discord) hold dbus sleep inhibitors
Classification: Plasma
Product: plasmashell
Version First 6.6.5
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Power management & brightness
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
DESCRIPTION
Since a system update around May 13th 2026, PowerDevil no longer automatically
suspends or shutdown the system. The display turns off as expected after the
configured timeout, but the system never suspends or shuts down.
Note: Some of the information in this report was suggested by an AI assistant
and has not been independently verified. These parts are marked accordingly.
STEPS TO REPRODUCE
1. Have Discord and beepertexts running in the background
(AI suggestion: these applications may be holding dbus sleep inhibitors
permanently)
2. Open System Settings → Power Management and configure a suspend timeout
(e.g. 10 minutes)
3. Leave the system idle
OBSERVED RESULT
The display turns off correctly after the configured timeout, but the system
never suspends or shuts down.
Output of "systemd-inhibit --list":
WHO UID USER PID COMM WHAT WHY
NetworkManager 0 root 808 NetworkManager sleep NetworkManager
needs to turn off network connections
Realtime Kit 0 root 1356 rtkit-daemon sleep Demote realtime
scheduling and stop using the CPU
UPower 0 root 1111 upowerd sleep Pause device
polling
Discord 1000 martin 1784 Discord sleep Application
cleanup before suspend
PowerDevil 1000 martin 1485 org_kde_powerde
handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch KDE
handles power events
beepertexts 1000 martin 1783 beepertexts shutdown Ensure a clean
shutdown
beepertexts 1000 martin 1783 beepertexts sleep Application
cleanup before suspend
7 inhibitors listed.
EXPECTED RESULT
The system suspends or shuts down after the configured idle timeout.
SOFTWARE/OS VERSIONS
Operating System: CachyOS (Arch-based)
KDE Plasma Version: 6.6.5
Qt Version: 5.15.19
Kernel: 7.0.9-1-cachyos
PipeWire: 1.6.5
ADDITIONAL INFORMATION
The following were tested and did not fix the issue:
1. Setting IdleAction=suspend in /etc/systemd/logind.conf – had no effect.
2. USB devices (GTX 450 Gaming Headset) checked as potential cause and ruled
out. (AI suggestion)
3. Deleting ~/.config/powermanagementprofilesrc and running:
systemctl --user start plasma-powerdevil.service
systemctl --user enable --now plasma-powerdevil.service
This fixes the suspend issue until the next reboot, after which the problem
returns.
Note: Screen brightness control was also broken after the same update and
was fixed by running:
systemctl --user start plasma-powerdevil.service
4. swayidle with a custom autostart script using qdbus to invoke kwin_wayland
screen-off shortcut – had no effect on the suspend or shutdown issue.
5. xdg-desktop-portal-kde – was installed but the service name was incorrect
(plasma-xdg-desktop-portal-kde instead of xdg-desktop-portal-kde).
Reinstalled and started the correct service – had no effect.
(AI suggestion)
Current workaround:
Using hypridle with the following configuration:
general {
ignore_dbus_inhibit = true
}
listener {
timeout = 600
on-timeout = systemctl suspend -i
}
This correctly suspends the system while still respecting Wayland idle
inhibitors from media applications.
--
You are receiving this mail because:
You are watching all bug changes.