Public bug reported:

The statistics for "capacity" and "rate" provided by
/proc/acpi/battery/${BATTERY}/info and
/proc/acpi/battery/${BATTERY}/state are in mWh and mW, respectively.

The correct units should be mAh and mA.

output of uname -rvs:
Linux 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007

output of cat /proc/acpi/battery/BAT0/info:
present:                 yes
design capacity:         64500 mWh
last full capacity:      22785 mWh
battery technology:      rechargeable
design voltage:          14800 mV
design capacity warning: 6450 mWh
design capacity low:     3225 mWh
capacity granularity 1:  645 mWh
capacity granularity 2:  645 mWh
model number:            M7V2P-E
serial number:            
battery type:            LIon
OEM info:                ASUSTEK

output of cat /proc/acpi/battery/BAT0/info:
present:                 yes
capacity state:          critical
charging state:          charging
present rate:            26700 mW
remaining capacity:      4215 mWh
present voltage:         16142 mV

** Affects: Ubuntu
     Importance: Undecided
         Status: New

-- 
Battery info uses wrong units
https://bugs.launchpad.net/bugs/133479
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to