power: pm8921-bms: display the battery information for monitoring
We need to monitor the battery status periodically.So change the message level and simplify the information. Change-Id: Ia010ad220875f6863b3cdf1835cf6a4afc555935
This commit is contained in:
committed by
Iliyan Malchev
parent
b9cbf1b2c9
commit
2d3ebfaeb6
@@ -1780,12 +1780,8 @@ static int adjust_soc(struct pm8921_bms_chip *chip, int soc,
|
||||
soc = soc_new;
|
||||
|
||||
out:
|
||||
pr_debug("ibat_ua = %d, vbat_uv = %d, ocv_est_uv = %d, pc_est = %d, "
|
||||
"soc_est = %d, n = %d, delta_ocv_uv = %d, last_ocv_uv = %d, "
|
||||
"pc_new = %d, soc_new = %d, rbatt = %d, m = %d\n",
|
||||
ibat_ua, vbat_uv, ocv_est_uv, pc_est,
|
||||
soc_est, n, delta_ocv_uv, chip->last_ocv_uv,
|
||||
pc_new, soc_new, rbatt, m);
|
||||
pr_info("ibat_ua = %d, vbat_uv = %d, soc = %d, batt_temp=%d\n",
|
||||
ibat_ua, vbat_uv, soc, batt_temp);
|
||||
|
||||
return soc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user