Bug 488073

Summary: "When sleeping, enter:" menu does not change sleep mode from Standby to Hybrid sleep.
Product: [Applications] systemsettings Reporter: Urban <urban.skalar>
Component: kcm_powerdevilAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: jpetso, kde, natalie_clarius, nate
Priority: NOR    
Version First Reported In: 6.0.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of the menu

Description Urban 2024-06-05 14:07:59 UTC
Created attachment 170170 [details]
Screenshot of the menu

SUMMARY
Sleep button in Application Launcher does not behave as set in the setting from powerdevil (Energy Saving) menu (When sleeping, enter: Hybrid sleep).


STEPS TO REPRODUCE
1. Open settings application.
2. Select Energy Saving menu.
3. Choose "Hybrid sleep" option at the "When sleeping, enter:" menu.
4. Apply changes.
5. Select Sleep option in Application Launcher menu.
6. When system is suspended wake the system.
7. Check journalctl -b 0 to see if system executed hybrid sleep


OBSERVED RESULT
journalctl:
Jun 05 15:54:25 micro systemd-logind[609]: The system will suspend now!


EXPECTED RESULT
Should be the same as when executing sudo systemctl hybrid-sleep from terminal
journalctl:
Jun 05 15:56:30 micro systemd-logind[609]: The system will enter hybrid sleep now!


SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 6 × Intel® Core™ i5-8500T CPU @ 2.10GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: Dell Inc.
Product Name: OptiPlex 5060

ADDITIONAL INFORMATION