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

Commit 40f90cb7 authored by Nicholas Troast's avatar Nicholas Troast Committed by Gerrit - the friendly Code Review server
Browse files

power: qpnp-fg: print battery voltage on boot



Print the battery voltage after the battery profile has been
loaded.

Change-Id: I5d4a4157a31ea0a6a491a95eb2f4daf4a096f35a
Signed-off-by: default avatarNicholas Troast <ntroast@codeaurora.org>
parent a3c3c49d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4652,7 +4652,8 @@ 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));
	pr_info("Battery SOC: %d, V: %duV\n", get_prop_capacity(chip),
		fg_data[FG_DATA_VOLTAGE].value);
	return rc;
no_profile:
	if (chip->power_supply_registered)