Bug 361022

Summary: Laptop goes to sleep when closing lid even with an external display connected
Product: [Plasma] Powerdevil Reporter: Ovidiu D. Niţan <nitanovidiu>
Component: generalAssignee: Plasma Development Mailing List <plasma-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: iskatu, kde.wavk5, kde
Priority: NOR    
Version: 5.5.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ovidiu D. Niţan 2016-03-26 20:13:12 UTC
If I connect an external display and I close the laptop's lid the system is going to sleep even if the option "Even when an external monitor is connected" is unchecked in the Power Management settings. I changed "When laptop lid is closed" to "Do nothing" to check if KDE's power management is inhibiting systemd's power management and it worked as expected.

My current display configuration is http://i.imgur.com/tsVgEU1.png

Reproducible: Always

Steps to Reproduce:
1. Set the system to not enter sleep mode in Power Management when an external monitor is connected
2. Close the laptop's lid


Actual Results:  
The system is going to sleep

Expected Results:  
The system should not go to sleep
Comment 1 Kai Uwe Broulik 2016-03-26 20:16:59 UTC
Does battery monitor show "your computer is configured not to suspend when closing the lid because an external monitor is connected" ?
Comment 2 Ovidiu D. Niţan 2016-03-26 23:39:05 UTC
No, it doesn't
Comment 3 teefax 2016-04-28 14:35:08 UTC
I'm experiencing the same bug. The "Even when an external monitor is connected" option is unchecked but the system goes to sleep when closing the lid anyway.
Comment 4 Kai Uwe Broulik 2016-04-28 21:28:50 UTC
I just had the same, I plugged in HDMI and PowerDevil wouldn't notice (didn't show the hint about how it won't suspend now), I'll have a look, thanks.
Comment 5 Nils 2022-01-24 18:39:23 UTC

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