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

Commit a36f3e2c authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: qpnp-bms: use minimum iavg upon boot if nothing is stored"

parents 54434ff9 3625cd6e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3499,7 +3499,7 @@ static void load_shutdown_data(struct qpnp_bms_chip *chip)
			|| shutdown_soc_out_of_limit) {
		chip->battery_removed = true;
		chip->shutdown_soc_invalid = true;
		chip->shutdown_iavg_ma = 0;
		chip->shutdown_iavg_ma = MIN_IAVG_MA;
		pr_debug("Ignoring shutdown SoC: invalid = %d, offmode = %d, out_of_limit = %d\n",
				invalid_stored_soc, offmode_battery_replaced,
				shutdown_soc_out_of_limit);