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

Commit 1d4485a7 authored by Todd Poynor's avatar Todd Poynor Committed by Mark Salyzyn
Browse files

ANDROID: GKI: power: power_supply: add POWER_SUPPLY_PROP_CHARGE_ENABLED



Signed-off-by: default avatarTodd Poynor <toddpoynor@google.com>
(cherry picked from commit 10152c26)
Signed-off-by: default avatarMark Salyzyn <salyzyn@google.com>
Bug: 150789066
Change-Id: I3e93b502452811cbfc4d904202b4f1d94edc143d
parent d50f3843
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -306,6 +306,7 @@ static struct device_attribute power_supply_attrs[] = {
	/* Local extensions */
	POWER_SUPPLY_ATTR(usb_hc),
	POWER_SUPPLY_ATTR(usb_otg),
	POWER_SUPPLY_ATTR(charge_enabled),
	/* Properties of type `const char *' */
	POWER_SUPPLY_ATTR(model_name),
	POWER_SUPPLY_ATTR(manufacturer),
+1 −0
Original line number Diff line number Diff line
@@ -153,6 +153,7 @@ enum power_supply_property {
	/* Local extensions */
	POWER_SUPPLY_PROP_USB_HC,
	POWER_SUPPLY_PROP_USB_OTG,
	POWER_SUPPLY_PROP_CHARGE_ENABLED,
	/* Properties of type `const char *' */
	POWER_SUPPLY_PROP_MODEL_NAME,
	POWER_SUPPLY_PROP_MANUFACTURER,