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

Commit 7b850f65 authored by Ashay Jaiswal's avatar Ashay Jaiswal
Browse files

power_supply: Add HVDCP_OPTI_ALLOWED property



Add POWER_SUPPLY_PROP_HVDCP_OPTI_ALLOWED to enable/disable
optimization by userspace daemon.

Change-Id: I084711fe4ef49c942005da1a986afed13e727312
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent 9ad97867
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -329,6 +329,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(recharge_soc),
	POWER_SUPPLY_ATTR(toggle_stat),
	POWER_SUPPLY_ATTR(allow_hvdcp3),
	POWER_SUPPLY_ATTR(hvdcp_opti_allowed),
	/* 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
@@ -280,6 +280,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_RECHARGE_SOC,
	POWER_SUPPLY_PROP_TOGGLE_STAT,
	POWER_SUPPLY_PROP_ALLOW_HVDCP3,
	POWER_SUPPLY_PROP_HVDCP_OPTI_ALLOWED,
	/* Local extensions of type int64_t */
	POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
	/* Properties of type `const char *' */