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

Commit 4ba4b502 authored by Tirupathi Reddy's avatar Tirupathi Reddy
Browse files

power: power_supply: add property for moisture detection



Add a power_supply property to handle moisture detection
result.

CRs-Fixed: 2102107
Change-Id: Ica716fc7deaf4560db93883d2b211836634617f4
Signed-off-by: default avatarTirupathi Reddy <tirupath@codeaurora.org>
parent 5ef08b98
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -322,6 +322,7 @@ static struct device_attribute power_supply_attrs[] = {
	POWER_SUPPLY_ATTR(connector_type),
	POWER_SUPPLY_ATTR(parallel_batfet_mode),
	POWER_SUPPLY_ATTR(min_icl),
	POWER_SUPPLY_ATTR(moisture_detected),
	/* 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
@@ -273,6 +273,7 @@ enum power_supply_property {
	POWER_SUPPLY_PROP_CONNECTOR_TYPE,
	POWER_SUPPLY_PROP_PARALLEL_BATFET_MODE,
	POWER_SUPPLY_PROP_MIN_ICL,
	POWER_SUPPLY_PROP_MOISTURE_DETECTED,
	/* Local extensions of type int64_t */
	POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT,
	/* Properties of type `const char *' */