[Patch] Check whether on battery manually after a delayed refresh(DeviceKit-Power)

Pramod Dematagoda pmd.lotr.gandalf at gmail.com
Tue Oct 13 19:00:06 PDT 2009


Hello Richard,

There is a problem with DKP where the daemon would not be aware of being
on battery or not during a delayed refresh since it would seem that the
backend does not send the daemon a device changed signal during such an
action.

I have attached the patch that fixes this problem by making the daemon
check whether it is on battery or not manually during a delayed refresh.

Cheers,
Pramod
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-whether-on-battery-power-manually-after-the-de.tar.bz2
Type: application/x-bzip-compressed-tar
Size: 1301 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/devkit-devel/attachments/20091014/204369de/attachment.bin 


More information about the devkit-devel mailing list