Add lidClosedChanged signal to org.kde.Solid.PowerManagement
Review Request #121915 - Created Jan. 8, 2015 and submitted
There's no way to detect when lid has been closed other than listening to
changedsignal org.freedesktop.UPower and then polling the Powerdevil for new values. This patch adds a new signal to the PowerDevil interface to notify about the change and provide new value right away. Makes it much easier to use.
Tested with qdbus-monitor, signal is emitted when laptop lid is closed/opened.