Bug 509591

Summary: With system configured as suspend-then-hibernate, hibernation only happens when entering sleep automatically, not when manually invoked
Product: [Plasma] plasmashell Reporter: Fab Stz <fabstz-it>
Component: Power management & brightnessAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 6.3.6   
Target Milestone: 1.0   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fab Stz 2025-09-17 08:56:31 UTC
SUMMARY

When choosing "Sleep/Suspend" on the KDE menu, system doesn't go to Hibernate after a while although it is configured as suspend-then-hibernate.

If I don't select manually sleep/suspend in the KDE menu and let KDE manage it by itself, then it finally enters hibernation.

Configuration of powerdevil is:

$ cat .config/powerdevilrc
[AC][SuspendAndShutdown]
AutoSuspendIdleTimeoutSec=300
SleepMode=3


In system settings (I'm unsure about the proper english wording)
When inactive, sleep after 5min
When entering sleep: "suspend then hibernate"

STEPS TO REPRODUCE
1.  go to KDE Menu
2. select "sleep" or "suspend" (I don't know the proper english translation of it)

OBSERVED RESULT

System will enter suspend state, but never hibernate although configured as such

EXPECTED RESULT

Systems should enter suspend and then hibernate.

SOFTWARE/OS VERSIONS
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)