[Bug 11849] Battery status applet doesn't show time remaining
bugzilla-daemon at bugzilla.ubuntu.com
bugzilla-daemon at bugzilla.ubuntu.com
Fri Jul 8 08:43:14 UTC 2005
Please do not reply to this email. You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=11849
Ubuntu | gnome-applets
------- Additional Comments From ralph at inputplus.co.uk 2005-07-08 09:43 UTC -------
(In reply to comment #3)
> ==> /proc/acpi/battery/BAT1/state <==
> present: yes
> capacity state: ok
> charging state: discharging
> present rate: 0 mA
> remaining capacity: 3583 mAh
> present voltage: 42176 mV
It looks like the acpi driver in the Linux kernel is giving the `present
rate' as 0mA and that stops the Gnome applet doing any time predictions.
Here's the relevant bit of drivers/acpi.
483 if (bst->present_rate == ACPI_BATTERY_VALUE_UNKNOWN)
484 seq_printf(seq, "present rate: unknown\n");
485 else
486 seq_printf(seq, "present rate: %d %s\n",
487 (u32) bst->present_rate, units);
So the value isn't `unknown', but is 0 anyway. I'd suggest this bug's
switched to the Linux kernel package as it's
/proc/acpi/battery/BAT1/state that has to be correct before the Gnome
applet can do anything.
--
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the desktop-bugs
mailing list