[PATCH Try#2] introduce-bq27000-battery-driver.patch

Andy Green andy at openmoko.com
Mon Feb 11 09:23:27 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:

''capacity    0
charge_full    1215585
current_now    183375
present    1
status    Discharging
technology    Li-ion
temp    276
time_to_empty_now    0
time_to_full_now    3932100
type    Battery
voltage_now    2761000

Note that temp is in 1/10 degrees C, other values are in uV,
uA, uW.  The time_to_* reported are bogus, but that is what
the battery actually reports.''

Those time estimates are bogus because that battery was never charged at
that time.  The values are sensible once the charger patches are applied
(some of which are still coming), particularly "capacity" works nicely,
it's a percentage -- as you can see that battery was getting pretty empty.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHsAX/OjLpvpq7dMoRAu8NAJ9rQwbCYrCO0TQq6w8swhT7tVnjVwCffwwY
roU7ef3E5Qxyb0QAlc7Et+8=
=uSYO
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list