[FSO] Battery Indicator Problem

Andy Green andy at openmoko.com
Fri Nov 7 11:09:45 CET 2008

Hash: SHA1

Somebody in the thread at some point said:
| Am Friday 07 November 2008 00:59:51 schrieb Quasar:
|> I just downloaded the latest FSO image, kernel, and modules, and
|> them on my SD card. Everything boots without problems but the battery
|> indicator seems to show a 0% charge even though Qt Extended (installed on
|> the flash) detects the battery as full. If I try to charge the
battery, FSO
|> detects the status as charging, but the time to full charge does not
|> no matter how long I keep charging it. My battery is a CC, and below are
|> the "cat" results which FSO seems to detect (while charging):
|> cat /sys/devices/platform/bq27000-battery.0/power_supply/bat/charge_full:
|> 1184526
|> cat /sys/devices/platform/bq27000-battery.0/power_supply/bat/current_now:
|> 138750
|> cat
|> 3932100
|> cat /sys/devices/platform/bq27000-battery.0/power_supply/bat/capacity: 0
|> Any ideas on what could be causing this problem and how I can fix it?
| Forwarding this to the kernel list, as this seems to be not

Simply that battery is not getting charged at the time these /sys things
were dumped.  The battery is running the device at 138mA discharge.

Presumably this is one of those "my battery discharges to death after
charge" issues and the charging indication is just wrong in this case.

Balaji is rewriting this charging code at the moment for
stable-tracking, this is another thing I expect to come out in the wash
when we rebase stable to stable-tracking in next few weeks.

- -Andy

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


More information about the openmoko-kernel mailing list