summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAshay Jaiswal <ashayj@codeaurora.org>2017-01-05 19:54:08 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-01-17 20:29:29 -0800
commitbafe291f17e9706637e612a8ebc8d777c6067849 (patch)
tree1e8ce2ec73f173f715d577e67bb454d279dca132 /include/linux
parentd4b9ff94dff74035e465eb341036b79e30ac3d14 (diff)
power_supply: add power supply property to support debug battery
Add power supply property to report debug/fake battery status. CRs-Fixed: 1107245 Change-Id: I5590a772604986de8eed1c8417411dac62668440 Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/power_supply.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
index 20280ff20e52..de35fe9441fe 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -228,6 +228,7 @@ enum power_supply_property {
POWER_SUPPLY_PROP_PE_START,
POWER_SUPPLY_PROP_SET_SHIP_MODE,
POWER_SUPPLY_PROP_SOC_REPORTING_READY,
+ POWER_SUPPLY_PROP_DEBUG_BATTERY,
/* Local extensions of type int64_t */
POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
/* Properties of type `const char *' */