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 438453004..0a4acdc2f 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 @@ -1508,12 +1508,13 @@ BOOL sf_is_battery_low(UINT8 refresh, UINT8 nightMode) { UINT8 batteryVal = 0; UINT8 batteryLevel = 0; - - // if(refresh) - // { - // sf_battery_value_fast_get(); - // //printf("DC=%d Custom=%d bat=%d\n", dcValue, CustomValue, batli8v); - // } + UINT8 PowerOnMode = sf_poweron_type_get(); + if((refresh) && (PowerOnMode != PWR_ON_SETUP)) + { + + sf_battery_value_fast_get(); + //printf("DC=%d Custom=%d bat=%d\n", dcValue, CustomValue, batli8v); + } batteryVal = sf_battery_value_get(nightMode);