At least in my case the kernel doesn't produce any uevents for the
battery or the ac adapter, so I filed a bug report against the kernel.

UPower seems to force an update of the battery status every 30 seconds,
so the charging level reported by GNOME battery status applet
corresponds to the one reported in /sys/class/power_supply/BAT1/uevent
(POWER_SUPPLY_CAPACITY). 'upowerd --verbose' tells me: 'No updates on
supply /org/freedesktop/UPower/devices/battery_BAT1 for 30 seconds;
forcing update'.

However, UPower doesn't force an update of the ac adapter status
(un/plugged), so that's why my notebook wouldn't go into hibernation
when the time defined in /org/gnome/settings-daemon/plugins/power/time-
action is reached.

Since UPower seems to expect the kernel to send uevents for the battery
and the ac adapter, I filed a report against the kernel:
https://bugzilla.kernel.org/show_bug.cgi?id=54621.

As I understand it all that remains here is the reqeust that UPower
should force an update of the line_power device in case the kernel fails
to send an uevent. If if this is correct it would make sense to change
the title.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/994745

Title:
  Power indicator fails to recognise unplug

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/994745/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to