From 063d7870ec696d4e07bddd68566e5ca02c35821f Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Fri, 11 Aug 2017 18:37:26 -0700 Subject: power_supply: add POWER_SUPPLY_PROP_{COLD,HOT}_TEMP properties Add POWER_SUPPLY_PROP_COLD_TEMP and POWER_SUPPLY_PROP_HOT_TEMP properties to represent Cold and Hot JEITA thresholds of the battery. Change-Id: Id5e16a4f7b20bb05d997277d20db05fc08db9f33 Signed-off-by: Subbaraman Narayanamurthy --- include/linux/power_supply.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 982b93ccfbe4..8b8a46ce32d0 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -199,6 +199,8 @@ enum power_supply_property { POWER_SUPPLY_PROP_LOW_POWER, POWER_SUPPLY_PROP_COOL_TEMP, POWER_SUPPLY_PROP_WARM_TEMP, + POWER_SUPPLY_PROP_COLD_TEMP, + POWER_SUPPLY_PROP_HOT_TEMP, POWER_SUPPLY_PROP_SYSTEM_TEMP_LEVEL, POWER_SUPPLY_PROP_RESISTANCE, POWER_SUPPLY_PROP_RESISTANCE_CAPACITIVE, -- cgit v1.2.3