diff options
author | Paul Fertser <fercerpav@gmail.com> | 2009-06-04 23:40:52 +0400 |
---|---|---|
committer | Nelson Castillo <arhuaco@freaks-unidos.net> | 2009-06-04 21:59:39 -0300 |
commit | dc91099c0ef18660bc2d9e3bd75fc1ad811e1116 (patch) | |
tree | 93b8be558c3c0b8a891ee81478c358bed2cb4422 /fs/gfs2/incore.h | |
parent | 5b8138ba5c1dbc86dce264a0d4c078737aa2007a (diff) |
GTA02: bq27000 report current charge
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@gmail.com>
Diffstat (limited to 'fs/gfs2/incore.h')
0 files changed, 0 insertions, 0 deletions