SUMMARY By default on Fedora, Plasma Workspaces will attempt to put the machine into "sleep" mode after fifteen minutes of inactivity. This worked properly on Fedora 40 with KDE 6.1, but when I upgraded to Fedora 41 the automatic sleep no longer works. This was true for both 6.1 and 6.2 Beta. When I come back to the machine some time later and unlock it (the screen still locked during this time), I am presented with an admin password prompt informing me that "Authentication is required to suspend this system". STEPS TO REPRODUCE 1. Install Fedora 41 Beta 2. Boot and log in 3. Wander away for at least fifteen minutes OBSERVED RESULT The monitor is off and the system is locked, requiring a password to resume. EXPECTED RESULT he computer should have locked the system and then suspended to save power. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 41 Beta, KDE 4.1.90 KDE Plasma Version: plasma-workspace-common-6.1.90-2.fc41.x86_64 KDE Frameworks Version: Qt Version: qt6-qttools-common-6.7.2-2.fc41.noarch ADDITIONAL INFORMATION This is possibly related to changes to the session in systemd 256 as discussed in https://bbs.archlinux.org/viewtopic.php?id=297757
Also reported downstream in Fedora https://bugzilla.redhat.com/show_bug.cgi?id=2315702 for potential tracking as a blocker for the Fedora 41 GA release.
I'm pretty sure this is a PowerDevil issue, so moving it to that.
Can't reproduce this bug on my baremetal installation: powerdevil-6.1.90-2.fc41.x86_64 Operating System: Fedora Linux 41 KDE Plasma Version: 6.1.90 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.2 Kernel Version: 6.11.0-63.fc41.x86_64 (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-3632QM CPU @ 2.20GHz Memory: 15.4 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 4000
Is this suspected of being a coincidental hardware issue now?
No, initially I was suspecting that it might be a hardware issue because I couldn't reproduce it on my other machine. However I discovered that there was a patch added to plasma-desktop recently that appears to have resolved the issue: https://github.com/KDE/plasma-desktop/commit/fc0048b41e27be46bfcc14ade556aa08ea29e9e9 (It's also possible that https://github.com/KDE/powerdevil/commit/0b708921b543974650202600b9f01e4957d178de played a role here; I updated them both together and the issue disappeared).
Powerdevil tells logind to suspend. If that triggers a password prompt that's a downstream misconfiguration of polkit
As I said, this appears to have been solved by one or both of the commits I linked above, so I'm going to close this as WORKSFORME.