summaryrefslogtreecommitdiff
path: root/drivers/power/ab8500_fg.c
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2012-03-14 03:00:01 +0100
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-03-26 20:41:25 +0400
commit6e0e60cd0d688d0d1af85ef2abb8e363595af988 (patch)
tree0c18bb3f9bd7a80e0fc532b3d9b3093e0c386297 /drivers/power/ab8500_fg.c
parent3124c4a080f9263abb667a827d30c9e81c9e5a21 (diff)
downloadlinux-3.10-6e0e60cd0d688d0d1af85ef2abb8e363595af988.tar.gz
linux-3.10-6e0e60cd0d688d0d1af85ef2abb8e363595af988.tar.bz2
linux-3.10-6e0e60cd0d688d0d1af85ef2abb8e363595af988.zip
max17042_battery: Fix CHARGE_FULL representation.
CHARGE_FULL should represent the full capacity of the battery in uAh. The 0x10 (FullCAP) register shows the compensated full capacity in mAh * 2; e.g., reg(0x10) = 0xBB8 means that it is 1500mAh. Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/power/ab8500_fg.c')
0 files changed, 0 insertions, 0 deletions