GTA02 spare batttery

Andy Green andy at openmoko.com
Sun Jul 13 23:30:24 CEST 2008


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

Somebody in the thread at some point said:

| Well, a lot of BL-5C clones fit and power the 02 for a while,
unfortunately we
| don't have any battery reporting for non-CC batteries in the 02-kernel.

Not so.

cat /sys/bus/i2c/devices/0-0073/battvolt

is ADC reading of voltage at +ve terminal of battery.

The voltage seen there is pretty ambiguous since it can be being
charged, accuracy is uncertain, and it is not calibrated to any
particular battery since we don't ship one we could characterize that
needs to use this.

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

iEYEARECAAYFAkh6c+AACgkQOjLpvpq7dMpiRwCdEuFQAoY4utcThH/Dpr8mFl8r
1XkAn2T2baMOosxCfLLRYD4Ov9tRM48r
=Ku+s
-----END PGP SIGNATURE-----




More information about the hardware mailing list