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

Commit 34114e9b 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-fg: print battery SOC after batt profile is loaded"

parents 39827364 aa186643
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2136,7 +2136,7 @@ static int fg_set_resume_soc(struct fg_chip *chip, u8 threshold)
	if (rc)
		pr_err("write failed rc=%d\n", rc);
	else
		pr_info("setting resume-soc to %x\n", threshold);
		pr_debug("setting resume-soc to %x\n", threshold);

	return rc;
}
@@ -4281,6 +4281,7 @@ done:
	if (chip->power_supply_registered)
		power_supply_changed(&chip->bms_psy);
	fg_relax(&chip->profile_wakeup_source);
	pr_info("Battery SOC: %d\n", get_prop_capacity(chip));
	return rc;
fail:
	chip->batt_type = old_batt_type;
@@ -5438,7 +5439,7 @@ static int fg_8994_hw_init(struct fg_chip *chip)
	if (rc)
		pr_err("failed to write default ESR value rc=%d\n", rc);
	else
		pr_info("set default value to esr filter\n");
		pr_debug("set default value to esr filter\n");

	return 0;
}