SUMMARY My system requires to enter hibernation with "/sys/power/disk" set to shutdown, otherwise resume of hibernation fails. I configured systemd to have "HibernateMode=shutdown" (in /etc/systemd/sleep.conf.d/sleep.conf) STEPS TO REPRODUCE / OBSERVED RESULT If I run systemctl hibernate, value in "/sys/power/disk" is set to shutdown automatically If I click on "hibernate" in the KDE/Plasma menu, the value in "/sys/power/disk" is never updated. EXPECTED RESULT Given that on a clear boot the value defaults to "platform" for the kernel (instead of shutdown, which I required) and that the value is not set correctly by powerdevil, I think there is either a bug, or there is no way to configure powerdevil a way to set the desired value for "/sys/power/disk" SOFTWARE/OS VERSIONS Operating System: Debian GNU/Linux 12 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.0-27-amd64 (64-bit) Graphics Platform: offscreen Processors: 2 × Intel® Core™2 Duo CPU E8135 @ 2.66GHz Memory: 7.5 Gio of RAM Graphics Processor: NVAC ADDITIONAL INFORMATION If this is already fixed in a specific commit, can y
I have some doubts on what I reported because it fails in other cases on my system. Does kde always make a call that is equivalent to systemctl hibernate?
Thanks for the bug report. I'm sorry we weren't able to get to this yet. There have been many fixes and improvements since this was reported, and this issue may have been fixed. Can you please re-test on your system with Plasma 6.3.5 or later and let us know if you can still reproduce the problem? If you can, please set this back to REPORTED. Thanks!
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
Will check when Debian Trixie is released
Wonder if this is an issue in Logind. Plasma merely calls Hibernate on the Logind dbus interface.
Apparently works fine on (with 1 trial): Operating System: Debian GNU/Linux 13 KDE Plasma Version: 6.3.6 KDE Frameworks Version: 6.13.0 Qt Version: 6.8.2 Kernel Version: 6.12.43+deb13-amd64 (64-bit)