When leaving work: - If closing lid after external display cable is pulled, suspend happens. - If closing lid before external display cable is pulled, suspend does not happen. Result is that often my laptop stays turned on for hours in my backpack. Expected behaviour: suspend should still happen if external screen is unplugged after lid is closed. Thanks :-)
Good idea. We re-trigger the suspend action when switching profiles (e.g. it should if you plug in/out AC) but not depending on screens disappearing, that is only checked in the instance of the lid being closed.
Patch https://phabricator.kde.org/D5606
Fantastic :-)
Git commit c57301685cc628ab05a932067e4d506cc427163a by Kai Uwe Broulik. Committed on 08/05/2017 at 16:56. Pushed by broulik into branch 'master'. Re-trigger lid action when lid is closed and external monitor is disconnected When switching profiles we would re-trigger the lid action as needed but we wouldn't for external monitor being disconnected. FIXED-IN: 5.10.0 Differential Revision: https://phabricator.kde.org/D5606 M +7 -0 daemon/actions/bundled/handlebuttonevents.cpp https://commits.kde.org/powerdevil/c57301685cc628ab05a932067e4d506cc427163a