From 5940d1b86f276242de028286ed083d03d9ddd3ed Mon Sep 17 00:00:00 2001 From: xiehongyan Date: Mon, 5 Feb 2024 14:03:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E6=B1=A0=E4=BE=9B=E7=94=B5=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=E7=94=B5=E9=87=8F=E4=B8=BA0=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/application/source/sf_app/code/source/battery/sf_battery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/application/source/sf_app/code/source/battery/sf_battery.c b/code/application/source/sf_app/code/source/battery/sf_battery.c index 8c34a5930..d07ca0ef4 100755 --- a/code/application/source/sf_app/code/source/battery/sf_battery.c +++ b/code/application/source/sf_app/code/source/battery/sf_battery.c @@ -1510,7 +1510,7 @@ BOOL sf_is_battery_low(UINT8 refresh, UINT8 nightMode) UINT8 batteryLevel = 0; int cnt = 100; UINT8 PowerOnMode = sf_poweron_type_get(); - if((refresh) && (PowerOnMode != PWR_ON_SETUP)) + if((refresh)) { sf_battery_value_fast_get(); while((sf_battery_level_get() == SF_BATT_LEVEL_TOTAL) && (cnt--))