Signed-off-by: huhui <huhui@sharkgulf.com>
@@ -354,7 +354,7 @@ void soc_update(void){
is_force_empty = 0;
}
}else if (!chargering && is_force_full) {
- if (_soc.discharger_coulomb / (_soc.coulomb_max - _soc.coulomb_min) >= 0.005) {
+ if (_soc.dischrger_coulomb / (_soc.coulomb_max - _soc.coulomb_min) >= 0.005) {
is_force_full = 0;