power: pm8921-bms: use fixed ibat_avg instead of shutdown ibat_avg
Using stored average ibat(shutdown ibat_avg) which came from previous boot sometimes cause SoC sudden drop in boot up time. So this patch use fixed ibat_avg value instead of shutdown ibat_avg during 1st SoC calculation. Change-Id: I9675652c3b4918529be40a8d6f8ee29b6dee1359 Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
committed by
Iliyan Malchev
parent
e40c8d7988
commit
cf0acb5176
@@ -140,6 +140,7 @@ struct pm8921_bms_platform_data {
|
||||
int wlc_term_ua;
|
||||
int wlc_max_voltage_uv;
|
||||
int (*wlc_is_plugged)(void);
|
||||
int first_fixed_iavg_ma;
|
||||
};
|
||||
|
||||
#if defined(CONFIG_PM8921_BMS) || defined(CONFIG_PM8921_BMS_MODULE)
|
||||
|
||||
Reference in New Issue
Block a user