u-boot fix to charge empty battery

Werner Almesberger werner at openmoko.org
Thu Oct 9 15:11:44 CEST 2008


Andy Green wrote:
> I remember hearing that too, but we are so far from Taipei we hear less
> than 1% of 1% of what goes on.

Indeed. My usual interpretation is

- no news are bad news
- good news are bad news, we just don't know it yet
- bad news are really bad news

Unfortunately, this still makes me an optimist :-(

> If Tony explicitly said it was resolved
> for production after the fact I'd tend to believe that.

So do I, but the missing link in the red LED story makes me a bit
suspicious about his source.

> /sys/devices/platform/bq27000-battery.0/power_supply/bat/current_now

Great idea ! On a GTA02v6, the ~5mA show quite nicely.

root at om-gta02:~# while sleep 10; do cat /sys/devices/platform/bq27000-battery.0/power_supply/bat/current_now; done
-294187
-296062
-296250
-296062
-296062
-290437
-290062
-290250
-290437
-293250
-295312
-295125
-294937
-295125
-295312

While, in another session, I did:

root at om-gta02:~# echo 1 > /sys/devices/platform/gta02-led.0/leds/gta02-aux\:red/brightness 
root at om-gta02:~# echo 0 > /sys/devices/platform/gta02-led.0/leds/gta02-aux\:red/brightness 

- Werner



More information about the devel mailing list