Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1b801a47 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power_supply: add property POWER_SUPPLY_PROP_SAFETY_TIMER_ENABLE



Add the safety_timer_enable property so that safety timer can be
controlled in the hardware.

CRs-Fixed: 773772
Change-Id: Ic884ebe8e9c3ce55849d401db0fad62130d00ad8
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent a09572d0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -215,6 +215,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(flash_current_max),
	POWER_SUPPLY_ATTR(update_now),
	POWER_SUPPLY_ATTR(esr_count),
	POWER_SUPPLY_ATTR(safety_timer_enabled),
	/* Local extensions of type int64_t */
	POWER_SUPPLY_ATTR(charge_counter_ext),
	/* Properties of type `const char *' */
+1 −0
Original line number Diff line number Diff line
@@ -167,6 +167,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_FLASH_CURRENT_MAX,
	POWER_SUPPLY_PROP_UPDATE_NOW,
	POWER_SUPPLY_PROP_ESR_COUNT,
	POWER_SUPPLY_PROP_SAFETY_TIMER_ENABLE,
	/* Local extensions of type int64_t */
	POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
	/* Properties of type `const char *' */