[Pkg-utopia-maintainers] Bug#684186: UPower does not send line_power_ACAD events

Stefan Nagy public at stefan-nagy.at
Sat Dec 29 10:07:17 UTC 2012


'upower --monitor' shows that the battery status is updated every 30
seconds ('device changed') while the ac adapter status will never be
updated.

When I plug in/out the ac adapter I get a message 'daemon changed' next
time the battery status gets updated; after that 'on battery' shows the
correct status (ac adapter plugged in: 'no', ac adapter plugged out:
'yes'). However, since the status of
device /org/freedesktop/UPower/devices/line_power_ACAD isn't correct,
action on critical battery won't be fired when the ac adapter was
plugged at boot time.

'udevadm monitor --kernel --udev' shows that the kernel (and udev) never
sends an event for none of the two devices (ac adapter & battery). It
seems like UPower forces a battery status update every 30 seconds while
it doesn't force a status update for the ac adapter.

Maybe it would make sense if UPower would force an update not only for
the battery but also for the ac adapter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20121229/5e68b432/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list