upowerd consuming one whole core if battery low

Václav Krpec vencik.krpo at gmail.com
Fri Jun 27 05:13:12 PDT 2014


Hello everybody,

I run Debian Jessie on a Toshiba Portege Z30-A-12N.
I've recently noticed that when my battery approaches
emptiness (about 10% and less), the system becomes
much less responsive and also noisy.

top tells me that upowerd consumes one whole core
in that situation.
However, I can see no extensive/abnormal activity
in terms of events; as you can see below, battery
status changes are registered about once per 2 sec,
which seems normal.

I've noticed a few similar reports (on Ubuntu) in the past,
but I thought it was already solved?

upower & upowerd are v0.9.23.

When it'll happen again, I'll try to run upowerd under strace
to see what's so busy about it; now, the laptop is charging,
so I'll need to wait a bit...

Thanks for any clues,

Regards,

vencik



$ upower --monitor
Monitoring activity from the power daemon. Press Ctrl+C to cancel.
[14:02:04.202]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:06.196]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:08.210]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:10.203]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:12.211]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:14.211]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:16.213]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:18.217]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:20.226]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:25.459]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:25.465]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:25.470]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:29.241]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:31.263]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:33.244]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:35.244]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:37.253]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1
[14:02:39.249]	device
changed:     /org/freedesktop/UPower/devices/battery_BAT1




More information about the devkit-devel mailing list