Bug 455246

Summary: Can't fix "Your notebook is configured not to sleep when closing the lid whilst an external monitor is connected"
Product: [Plasma] plasmashell Reporter: dauntless <60f31543-f82f-492a-8430-25db5521568b>
Component: Power and Battery widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, me, nate
Priority: NOR    
Version First Reported In: 5.24.5   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0
Sentry Crash Report:

Description dauntless 2022-06-14 12:16:22 UTC
SUMMARY
When clicking the Battery Monitor applet I get a little notice at the top saying "Your notebook is configured not to sleep when closing the lid whilst an external monitor is connected". Going into Power Management settings and changing all relevant ones still fails to remove this behaviour. 


STEPS TO REPRODUCE
1. Plug in an external monitor
2. In Power Management settings > Energy Saving > tick the boxes for "Even when an external monitor is connected" and set both Button events handling to "Sleep"

OBSERVED RESULT
1. Warning is still present, as it's behaviour
2. There are no other settings within Power Management for changing this behaviour

EXPECTED RESULT
1. There should be a relevant setting for removing this behaviour if there's a warning for it in Battery Monitor. Or it should at least give information of how to resolve it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-12-08 20:37:02 UTC

*** This bug has been marked as a duplicate of bug 374332 ***