|
|
@@ -323,7 +323,7 @@ static void _force_capacity_full(void){
|
|
|
//don't trust if curr_min_cap big than before
|
|
|
if (curr_min_cap < _soc.coulomb_min) {
|
|
|
_soc.coulomb_min = _soc.coulomb_min * (1.0f - min_cap_lfp) + curr_min_cap * min_cap_lfp; //lowpass filter
|
|
|
- soc_warning("current real cap %f\n", curr_real_cap);
|
|
|
+ soc_warning("current real cap %f\n", _soc.coulomb_min);
|
|
|
push_event(Min_Cap_For_Full, (u32)curr_real_cap);
|
|
|
}
|
|
|
}
|