Browse Source

fix: 老化模式也需要处理powerdown

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui 4 years ago
parent
commit
044619e1ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Application/app/sox/health.c

+ 1 - 1
Application/app/sox/health.c

@@ -222,7 +222,7 @@ static int judge_debounce(int input, debounce_t *d){
 }
 
 static int _can_powerdown(void){
-	if (io_state()->charger_detect_irq || bms_state_get()->charging || !bms_work_is_normal()){
+	if (io_state()->charger_detect_irq || bms_state_get()->charging){
 		return 0;
 	}
 	if ((bms_state_get()->pack_voltage <= min_discharger_pdown_vol[_health.is_work_temp_normal] ||