Bug 499105

Summary: plasma will not hibernate or suspend-then-hibernate from the power manager settings
Product: [Plasma] plasmashell Reporter: goo <droidgoo>
Component: Power management & brightnessAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: major    
Priority: NOR    
Version First Reported In: 6.1.5   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description goo 2025-01-24 20:10:49 UTC
SUMMARY
the power management settings for suspend only shows sleep or shutdown

STEPS TO REPRODUCE
1. goto settings > power manager > suspend 
2. note options provided
3. no longer shows hibernate after a period of time option

OBSERVED RESULT
PC will only suspend to RAM not to disk

EXPECTED RESULT
plasma offers both suspend and hibernate if they are supported by the firmware


SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-13-generic (64-bit)
Graphics Platform: X11
Processors: 28 × Intel® Core™ i7-14700K
Memory: 62.6 GiB of RAM
Graphics Processor: AMD Radeon RX 6800
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D27
System Version: 1.0

ADDITIONAL INFORMATION

# both of these checks give the result of false
qdbus org.freedesktop.PowerManagement /org/freedesktop/PowerManagement CanSuspendThenHibernate
qdbus org.freedesktop.PowerManagement /org/freedesktop/PowerManagement CanHibernate

however running either 

sudo systemctl hibernate
or 
sudo systemctl suspend-then-hibernate

the system behaves as expected, there just seems to be no way to activate these from the power management setting

also needed to add this parameter to grub for using the /swap partition to resume.

GRUB_CMDLINE_LINUX="resume=UUID=[swap partition]"
Comment 1 Bug Janitor Service 2025-01-24 20:33:39 UTC
Thank you for the bug report!

However Plasma 6.1.5 is no longer eligible for support or maintenance from KDE; supported versions are 5.27. (LTS), and 6.2 (non-LTS) or newer. Please upgrade to a supported version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.

If you need support for Plasma 6.1.5, please contact your distribution, who bears the responsibility of providing support for older releases that are no longer supported by KDE.

If you can reproduce the issue after upgrading to a supported version, feel free to re-open this bug report.