power: Add property CHARGE_COUNTER_EXT and 64-bit precision properties
authorTodd Poynor <toddpoynor@google.com>
Thu, 12 Dec 2013 23:59:09 +0000 (15:59 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:37 +0000 (13:53 -0800)
commit8774e7626bef4888bb3651de3b7dd38598ea672e
tree9693e8427df1c448732dcd5e42b17f5d70e2b3b0
parent4407d13a09440957991b89471e635c3fffc91a21
power: Add property CHARGE_COUNTER_EXT and 64-bit precision properties

Add POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT that stores accumulated charge
in nAh units as a signed 64-bit value.

Add generic support for signed 64-bit property values.

Change-Id: I2bd34b1e95ffba24e7bfef81f398f22bd2aaf05e
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/power/power_supply_sysfs.c
include/linux/power_supply.h