No matter if I'm on battery (discharging) or have the ac adapter plugged in (charging), if I'm plugging the ac adapter in or out – I don't see any power related uevents from the kernel with 'udevadm monitor' or 'udevadm monitor --kernel'. I also tried to change the logging priority of udevadm with 'udevadm control --log-priority=debug' – but without any luck.
Since the kernel sends no power related uevents, UPower doesn't update the status of the ac adapter (un/plugged). The value 'Updated' for device /org/freedesktop/UPower/devices/line_power_ACAD reported by UPower will always be similar to uptime, no matter how long that is and how often I un/plugged the ac adapter in the meantime. When I booted with the ac adapter plugged in and at some point I plug it out and decided to work on battery my notebook will never be sent into hibernation because UPower thinks the ac adapter is still plugged in. I guess UPower expects an uevent from the kernel. However, UPower seems to force an update of the battery status every 30 seconds (upowerd tells me: 'No updates on supply /org/freedesktop/UPower/devices/battery_BAT1 for 30 seconds; forcing update'), so the charging level reported by the battery status applet in GNOME corresponds to the reported value in /sys/class/power_supply/BAT1/uevent (POWER_SUPPLY_CAPACITY). This bug was filed against UPower but now I realized that UPower waits for uevents from the kernel regarding the battery and the ac adapter status; but since there are no power related uevents from the kernel at all I have reasons to this in fact is a kernel bug. -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1362178067.7364.51.camel@rosa