Public bug reported:
On a recent (like, less than a month old) Sony VAIO notebook, the kernel
(latest rev) is not sending uevents for AC power disconnect, which
confuses upower and never lets UPower think the notebook is running on
battery power, even when it is.
I've monitored everything from upower (using upower -m) down to the
events sent by the kernel (udevadm monitor --kernel) and it would appear
that the kernel simply is not sending events when the AC power is
disconnected. The kernel knows that the power has been disconnected,
though, because catting the "online" file in /sys/devices/.../AC/online
shows that the kernel knows it's offline (value of the file is 0 when
disconnected, 1 when connected).
What's more interesting is that, when the notebook is booted unplugged
(i.e. booted off battery), the kernel still doesn't send AC notification
events, but UPower is able to figure out when the system is on battery
and when it isn't. Also weird is the fact that the kernel doesn't send
events for the backlight when booted with AC plugged in, but does send
them when booted off battery (even if AC is later
disconnected/reconnected).
This issue happens on Arch Linux on this notebook as well.
Ubuntu Version: 11.10
Kernel version: linux-image-3.0.0.15.17
Arch: amd64
** Affects: ubuntu
Importance: Undecided
Status: New
** Tags: ac battery power udev upower
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/923135
Title:
kernel is not sending uevents for ac power disconnect
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/923135/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs