Bug 462989

Summary: Suspend then hibernate support is broken
Product: [Plasma] plasmashell Reporter: Swâmi Petaramesh <swami>
Component: Power management & brightnessAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: digger, jpetso, natalie_clarius, nate
Priority: NOR    
Version First Reported In: 5.26.4   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Swâmi Petaramesh 2022-12-13 06:40:03 UTC
Suspend then hibernate support does not work at all

STEPS TO REPRODUCE
In KDE settings, power management, check the “On suspend, hibernate after a certain time” box. 

OBSERVED RESULT
Aftet suspend, the system will never hibernate.

EXPECTED RESULT
Should hibernate “after a certain time” (which is unfortunaltely not precised, nor settable)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux kernel 6.0.11
KDE Plasma Version:  5.26.4
KDE Frameworks Version:  5.100.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
On the same machine using Cinnamon instead of KDE, suspend then hibenate works perfectly - per setttings in /etc/systemd/sleep.conf as Cinnamon itself doesn't know about it.

Also, in KDE the “On suspend, hibernate after a certain time” box can always be checked, but is saved only if an auto-suspend timeout is set, which is annoying because on may want the system not to go to suspend automatically, but go to hibernate after some time whenever it has been manually suspended.

Contents of :
❯ cat /etc/systemd/sleep.conf
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it under the
#  terms of the GNU Lesser General Public License as published by the Free
#  Software Foundation; either version 2.1 of the License, or (at your option)
#  any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in
# the sleep.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins.
#
# See systemd-sleep.conf(5) for details.

[Sleep]
#AllowSuspend=yes
#AllowHibernation=yes
AllowSuspendThenHibernate=yes
AllowHybridSleep=no
#SuspendMode=
#SuspendState=mem standby freeze
#HibernateMode=platform shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
HibernateDelaySec=180min
Comment 1 Jakob Petsovits 2023-12-22 23:42:23 UTC
(In reply to Swâmi Petaramesh from comment #0)
> Also, in KDE the “On suspend, hibernate after a certain time” box can always
> be checked, but is saved only if an auto-suspend timeout is set, which is
> annoying because on may want the system not to go to suspend automatically,
> but go to hibernate after some time whenever it has been manually suspended.

We fixed that part by revamping the Energy Saving settings to be less cluttered and (hopefully) make more sense. I haven't looked into the meat of the main reported issue though (sorry).
Comment 2 Nate Graham 2025-06-04 18:18:46 UTC
Sorry we were not able to look into this further. Can you still reproduce the issue in Plasma 6.3.5 or later? Thanks a lot!
Comment 3 Bug Janitor Service 2025-06-19 03:47:52 UTC
🐛🧹 ⚠️ 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!
Comment 4 Bug Janitor Service 2025-07-04 03:47:47 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.