playground/base/guidance/powermanager

Sebastian Kügler sebas at kde.org
Fri Dec 8 11:23:21 GMT 2006


SVN commit 611476 by sebas:

New Feature: Powermanager has Idletime detection now

Simon checked in a new feature for the ixf86misc module
some days ago which adds support for querying xscreen-
saver for the time the machine has been idle.

This feature uses this new functionality. The UI has
changed to include the option to set the time the machine
should wait until it suspends, for both, battery-powered 
and mains-powered modes. The radiobuttongroup has been
replaced by a QComboBox in order to remove clutter.

This feature needs some additional testing and polishing,
sometimes, after a resume, X will report very long idle
times and will only recover after some seconds, this is
worked around by checking if the skew isn't too big. Also,
we'll want to reset the idle time post-resume so the 
machine doesn't suspend right again, this functionality
needs to be added to the xf86misc python module. 

Note: For this feature, the dependency on xf86misc is
added, this has to be recompiled. The UI files have to
be recompiled as well. Some names have changed in both,
the UI and the code for consistency matters, config
compatibility, however, should be maintained.

CCMAIL:kubuntu-devel at lists.ubuntu.com


 M  +85 -25    guidance-power-manager.py  
 M  +166 -83   guidance_power_manager_ui.ui  
 M  +8 -0      powermanage.py 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20061208/50d7eb6c/attachment.pgp 


More information about the kubuntu-devel mailing list