From: Lars-Peter Clausen Date: Sat, 18 Sep 2010 15:31:16 +0000 (+0200) Subject: bq27x00: Give more specific reports on battery status X-Git-Tag: v2.6.39-rc1~56^2~10^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1b9ab67e7c7021be9d0db6345d6ccc5d70248f1;p=pandora-kernel.git bq27x00: Give more specific reports on battery status The current code only reports whether the battery is charging or discharging. But the battery also reports whether it is fully charged, furthermore by look at if the battery is supplied we can tell whether it is discharging or not charging. Signed-off-by: Lars-Peter Clausen Acked-by: Rodolfo Giometti Tested-by: Grazvydas Ignotas --- Reading git-diff-tree failed