Add lidClosedChanged signal to org.kde.Solid.PowerManagement

Review Request #121915 - Created Jan. 8, 2015 and submitted

Information
Daniel Vrátil
powerdevil
master
Reviewers
plasma, solid

There's no way to detect when lid has been closed other than listening to changed signal 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.

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Aleix Pol Gonzalez
Daniel Vrátil
Àlex Fiestas
Lukáš Tinkl
Kai Uwe Broulik
Daniel Vrátil
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit b5a1e1bec3052460ff8c87764a065cc61cdeba47 by Dan Vrátil to branch master.
Loading...