[Kde-hardware-devel] Review Request: Don't set unwanted DPMS timeouts on inhibition change

Oliver Henshaw oliver.henshaw at gmail.com
Fri Oct 12 17:45:25 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106793/
-----------------------------------------------------------

Review request for Solid.


Description
-------

Don't set unwanted DPMS timeouts on inhibition change

Set m_idleTime to zero when action first initialised and when unloaded.
This makes onProfileLoad safe to use by onUnavailablePoliciesChanged
even when the action is not loaded.

CCBUG: 295164


Diffs
-----

  powerdevil/daemon/actions/dpms/powerdevildpmsaction.cpp a16bf7ee254b9a40c6f033c93e5ca63226469e6e 
  powerdevil/daemon/actions/dpms/powerdevildpmsaction.h ef734c47cef79fbc5573ec3683c30e415bbc8a2e 

Diff: http://git.reviewboard.kde.org/r/106793/diff/


Testing
-------

Checking 'xset -q' after add/remove inhibition from battery applet in two cases: after login when screen power saving is not enabled; after changing screen power saving configuration from enabled to disabled.


Thanks,

Oliver Henshaw

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20121012/191d8b03/attachment.html>


More information about the Kde-hardware-devel mailing list