upowerd consuming one whole core if battery low

Václav Krpec vencik.krpo at gmail.com
Wed Jul 2 03:09:46 PDT 2014


Hello everybody,

as a follow-up of the previous post, this time I include
strace log.
upower seems to read battery info in busy loop:
it appears to me that there's a failure in an attempt to recvmsg (EAGAIN)
(that might be the busy loop triger).
It's then followed by polling & reading the battery info.
Lots of the polls are non-blocking; I bet that's the cause.

Does the above make any sense?

Thanks,

Regards,

vencik

-------------- next part --------------
A non-text attachment was scrubbed...
Name: upowerd.strace.log
Type: text/x-log
Size: 209262 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/devkit-devel/attachments/20140702/7b69d8d8/attachment-0001.bin>


More information about the devkit-devel mailing list