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

Pramod Dematagoda pmd.lotr.gandalf at gmail.com
Fri Oct 16 04:22:52 PDT 2009


On Thu, 2009-10-15 at 11:19 +0100, Richard Hughes wrote:
> 2009/10/14 Pramod Dematagoda <pmd.lotr.gandalf at gmail.com>:
> > I updated to the latest git and tried without my work around Richard,
> > but the bug shows up again and it disappears once I apply my patch, so
> > it would seem that the daemon still does not get notified properly after
> > the delayed refresh.
> 
> Could you include a daemon log with git master showing on what line
> the delayed refresh fails to happen please? I don't want to merge your
> patch as it duplicates a chunk of logic, and I would rather find the
> true bug rather than workaround it. Thanks.
> 
> Richard.

The logs are attached, I have marked the locations where the delayed
refreshes occur and also annotated them with what is going on when they
are done.

The unpatched log is what is obtained using the current DKP git, the
patched one is with my workaround. 

Pramod
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dkp-logs.tar.bz2
Type: application/x-bzip-compressed-tar
Size: 3375 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/devkit-devel/attachments/20091016/aefa499a/attachment.bin 


More information about the devkit-devel mailing list