[Bug 13446] unreasonable values from /proc/acpi with mAh batteries

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Thu Aug 18 23:54:04 UTC 2005

Please do not reply to this email.  You can add comments at
Ubuntu | linux

------- Additional Comments From desrt at desrt.ca  2005-08-19 00:54 UTC -------
Nope.  This is right too.

When a laptop reports values in mA the values are normalised by multiplying by
voltage.  The original values as reported by ACPI are in the "reported."
namespace, whereas the normalised values are in the "charge_level." namespace. 
We have to do this in order to properly calculate overall percentage of battery
power left on multiple battery systems that report battery capacity in mAh and
have batteries with two different voltages.

See http://bugzilla.gnome.org/show_bug.cgi?id=309944 and
http://lists.freedesktop.org/archives/hal/2005-July/002834.html for more
information. (in the end, the unit that we decided to report is microwatthours
since you can reach it most easily, ie: just multiply mV by mAh).

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 kernel-bugs mailing list