Re-trigger lid action when lid is closed and external monitor is disconnected

Authored by broulik on Apr 26 2017, 9:23 PM.



When switching profiles we would re-trigger the lid action as needed but we wouldn't for external monitor being disconnected.

BUG: 379265
FIXED-IN: 5.10.0

Test Plan

Compiles. Didn't find an Micro HDMI adapter so I didn't test it yet.

In theory: Plug in external monitor, make sure the "even with external monitor" is unchecked, close lid, nothing should happen, unplug monitor, should suspend then.

Diff Detail

R122 Powerdevil
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Apr 26 2017, 9:23 PM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 26 2017, 9:23 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.Apr 27 2017, 10:07 AM
This revision is now accepted and ready to land.Apr 27 2017, 10:07 AM
oliverhenshaw added inline comments.

nit: Missing the bug number here

This revision was automatically updated to reflect the committed changes.