[PATCH] GTA02: bq27000 report current charge

Nelson Castillo arhuaco at freaks-unidos.net
Fri Jun 5 03:05:19 CEST 2009


On Thu, Jun 4, 2009 at 4:40 PM, Paul Fertser <fercerpav at gmail.com> wrote:
> Using HAL for E's battery gadget highlighted an oddity: the kernel exposed
> last full charge property but didn't expose current charge property. This
> resulted in the wrong computation of current battery capacity by E's gadget
> (and probably other programs as well).
>
> This patch exposes a corresponding bq27000 register to make E battery
> gadget happy (it is still not showing correct values because of bugs in HAL
> resulting in 3 batteries (apm emulation and usb supply being bogus here)
> instead of one).
>
> Signed-off-by: Paul Fertser <fercerpav at gmail.com>

Paul, patch sent.



More information about the openmoko-kernel mailing list