summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNicholas Troast <ntroast@codeaurora.org>2017-02-08 10:41:06 -0800
committerAshay Jaiswal <ashayj@codeaurora.org>2017-02-10 12:52:13 +0530
commite93616b414db2691481c9ebd014058166be43186 (patch)
tree25c867b7b5390e2db3356c7d173dfdebf3f5f3a6 /include/linux
parent3a3c5fd62ecae1a880958a8788db34539099d399 (diff)
power_supply: add DIE_HEALTH and CONNECTOR_HEALTH properties
The DIE_HEALTH and CONNECTOR_HEALTH properties are used to show the output of the thermal regulation TEMP_RANGE. Change-Id: Ice3f159b7775084bdd0099047d4660a1e5edce98 Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/power_supply.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
index 64f5c4ca09d5..fe529be52980 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -61,6 +61,7 @@ enum {
POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE,
POWER_SUPPLY_HEALTH_WARM,
POWER_SUPPLY_HEALTH_COOL,
+ POWER_SUPPLY_HEALTH_HOT,
};
enum {
@@ -238,6 +239,8 @@ enum power_supply_property {
POWER_SUPPLY_PROP_ICL_REDUCTION,
POWER_SUPPLY_PROP_PARALLEL_MODE,
POWER_SUPPLY_PROP_CONNECTOR_THERM_ZONE,
+ POWER_SUPPLY_PROP_DIE_HEALTH,
+ POWER_SUPPLY_PROP_CONNECTOR_HEALTH,
/* Local extensions of type int64_t */
POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
/* Properties of type `const char *' */