Move Power Management logic from Core to Actions

Review Request #110100 - Created April 20, 2013 and submitted

Dario Freddi
afiestas, oliverhenshaw
This patch moves all the logic handling from Core to the needed actions. This makes core a simple policy handler and action manager (as it should).

Bonus points: this also fixes a small bug in keyboard backlight handling and allows actions to be registered on DBus.
Everything seems to work, including the applet. A small patch to kdelibs is needed to sync up with the moving DBus objects, and it's in my tree already.
Oliver Henshaw
Dario Freddi
Review request changed

Status: Closed (submitted)