Wrong battery status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned | ||
Bug Description
Binary package hint: acpi
Hi there
I have a Fujitsu Siemens Esprimo u9200, and it seems nearly all acpi stuff works: suspend, hibernate, events when closing the lid and gnome-power manager knows when the laptop is running on battery, when it's charging or when it is pluged in with missing battery or fully charged.
But there's one thing that bothers me: while gnome-power-manager 'seems' to be working correctly, the battery applet doesn't. It always shows the laptop being on running on ac power. In terminal, acpi -a -b shows the following:
patrick@
Battery 1: charged, 41%
AC Adapter 1: off-line
This happens with both ubuntu stock kernel and a .26 kernel. I suspect it could be some BIOS stuff, but I'm not sure. I've read the DSDT and it points to different places wether it's a linux OS, windows XP, windows XP SP1, SP2 or Vista. I've tried to recompile it pointing linux to the same place as all other options, but it still shows the same.
Any ideas?
[EDIT by Chris Coulson]
The battery status indicated in /proc/acpi and sysfs (and therefore HAL) is incorrect. With the AC adapter present and the battery charging, the battery status is 'charging', which is correct. When the battery becomes charged, the status appears to indicate 'discharging'. Without the AC adapter, the battery status says at 'charged', when it should be 'discharging'. The side effect of this is that the gnome-power-manager icon does not display when the AC adapter is disconnected (when it should do), and the battery status icon (which uses data from /proc/acpi) always shows the laptop as running on AC power.
This comment contains the information about the battery and AC adapter exported in /proc/acpi (with and without AC power): https:/
This comment contains the information about the battery and AC adapter exported from HAL (with and without AC power):
https:/
This comment contains the information about the battery exported from HAL (AC adapter conected and battery fully charged): https:/
Contents of /proc/acpi: http://
dmidecode, lspci and dmesg output: http://
[/END]
Changed in linux: | |
assignee: | chrisccoulson → ubuntu-kernel-acpi |
importance: | Undecided → Medium |
status: | Incomplete → Triaged |
description: | updated |
description: | updated |
Thank you for taking the time to report this bug and help make Ubuntu better. Unfortunately we can't fix it without more information.
Based on the information you have given, I have reassigned this to gnome-power-manager for now, as it seems to be g-p-m which is indicating the wrong status. Could you please provide the information requested at https:/ /wiki.ubuntu. com/DebuggingGN OMEPowerManager.
Thanks in advance.