Weird Battery Charge Indicator Issue

Lalit Dhiri ubuntu at port76.com
Sat Dec 25 23:00:48 UTC 2004


On Sat, 2004-12-25 at 22:13 +0000, Matthew Garrett wrote:
> On Sat, 2004-12-25 at 16:04 +0000, Lalit Dhiri wrote:
> 
> > I don't think the battery needs to be calibrated but there's something
> > wrong with the way ubuntu does things. It shows full charge in Windows
> > XP Pro and Xandros 2.5/3.0 so this problems is rather bizzare....
> 
> Xandros is likely to be using apm rather than acpi. Take a look at
> the /proc/acpi/battery/BAT0/info and state files and compare "remaining
> capacity" to "last full capacity". If the two are different, then that's
> what your battery is reporting.
> 
> -- 
> Matthew Garrett | mjg59 at srcf.ucam.org
> 
The two values are different 38940 (info - full batt cap) and 38740
(state - remaining cap). Both are stated as mWh.

Lalit





More information about the ubuntu-users mailing list