Thank you for the information.

The information exported to /proc/acpi seems to be consistent with the
behaviour of the battery status applet as I understand it (battery
status is 'charging' when the AC adapter is present, but always
'charged' without AC adapter, and never 'discharging'). This defainately
looks like a kernel bug.

For this reason, I will now reassign this to the kernel.

The next interesting thing would be to see whether the information in
/proc/acpi is consistent with the information in sysfs (which is what
HAL and gnome-power-manager uses). I suspect it may be, because you say
that the gnome-power-manager icon only ever displays when charging, even
though you have told it to display when charging and discharging. Also,
the information you provided from HAL earlier suggests this already too
(battery.rechargeable.is_discharging = false). If you feel like it,
could you please run the following commands both with and without AC
power:

ls -la /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
cat /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/*

I'm not familiar with the structure under this folder. If the files I'm
interested in are in sub-folders, you will need to cd in to them in
order to get the information.

In addition to this, could you also provide the standard information
required by the kernel team for ACPI related bugs at
https://wiki.ubuntu.com/DebuggingACPI, as separate attachments.

Thanks

** Changed in: linux (Ubuntu)
Sourcepackagename: gnome-applets => linux
     Assignee: (unassigned) => Chris Coulson (chrisccoulson)

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

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

Reply via email to