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

Commit cd5c0c79 authored by Badhri Jagan Sridharan's avatar Badhri Jagan Sridharan Committed by Mark Salyzyn
Browse files

ANDROID: GKI: power_supply: Add vendor specific dead battery property



Signed-off-by: default avatarBadhri Jagan Sridharan <badhri@google.com>
Bug: 139264914
(cherry picked from commit 3f1939e10d25e78ab864720ddbc292cf6ae5e03d)
Signed-off-by: default avatarMark Salyzyn <salyzyn@google.com>
Bug: 150789066
Change-Id: Iaa409f51e14c131801f70661838572d5aab94a08
parent 6c9a8542
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -466,6 +466,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(skin_health),
	POWER_SUPPLY_ATTR(charge_disable),
	POWER_SUPPLY_ATTR(adapter_details),
	POWER_SUPPLY_ATTR(dead_battery),
	/* Charge pump properties */
	POWER_SUPPLY_ATTR(cp_status1),
	POWER_SUPPLY_ATTR(cp_status2),
+1 −0
Original line number Diff line number Diff line
@@ -337,6 +337,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_SKIN_HEALTH,
	POWER_SUPPLY_PROP_CHARGE_DISABLE,
	POWER_SUPPLY_PROP_ADAPTER_DETAILS,
	POWER_SUPPLY_PROP_DEAD_BATTERY,
	/* Charge pump properties */
	POWER_SUPPLY_PROP_CP_STATUS1,
	POWER_SUPPLY_PROP_CP_STATUS2,