Bug 513961

Summary: Power button does not work when set to "Hibernate" or "Sleep"
Product: [Plasma] plasmashell Reporter: krisrh21
Component: Power management & brightnessAssignee: Plasma Bugs List <plasma-bugs-null>
Status: NEEDSINFO WAITINGFORINFO    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 6.5.3   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description krisrh21 2025-12-29 18:03:23 UTC
SUMMARY
After setting "When power button pressed" to either "Hibernate" or "Sleep", nothing happens when the power button is pressed.

STEPS TO REPRODUCE
1. In "System Settings"/"Power Management", set "When power button pressed" to either "Hibernate" or "Sleep".
2. 
3. 

OBSERVED RESULT
Pressing the power button does nothing.

EXPECTED RESULT
Pressing the power button should either hibernate the PC or enter sleep mode.

SOFTWARE/OS VERSIONS
Fedora Linux 43
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.9-300.fc43.x86_64 (64-bit)

Processors: 4 × Intel® Core™ i3-7100U CPU @ 2.40GHz
Memory:  16 GiB of RAM

ADDITIONAL INFORMATION
I can confirm when "When power button pressed" is set to "Turn off screen", my laptops screen does turn off. I can also confirm my laptop does hibernate and enter sleep mode when these options is selected in "Application Launcher".

I also want to point out that, I setup Fedora Linux with a 16 GiB swap partition.
Comment 1 Nate Graham 2026-01-08 20:27:49 UTC
Can you try this in a new clean user account with no other customizations? Does it also happen there?