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

Commit 42033781 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

power: qpnp-qg: Update the property to force-recharge



RECHARGE_SOC psy property is no more used to force
a recharge. Use the FORCE_RECHARGE property.

Change-Id: I417d46cc07f455792906a18f4b6dc8e5ca8ca3db
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 68e77900
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1890,7 +1890,7 @@ static int qg_charge_full_update(struct qpnp_qg *chip)
			/* Force recharge */
			prop.intval = 0;
			rc = power_supply_set_property(chip->batt_psy,
				POWER_SUPPLY_PROP_RECHARGE_SOC, &prop);
				POWER_SUPPLY_PROP_FORCE_RECHARGE, &prop);
			if (rc < 0)
				pr_err("Failed to force recharge rc=%d\n", rc);
			else