From: xue <2144439972@qq.com> Date: Wed, 17 Dec 2025 06:43:42 +0000 (+0800) Subject: 调整自动关机电量 X-Git-Url: http://git.snicker.com.cn/css/html/static/gitweb.css?a=commitdiff_plain;h=6514fe815b11e71b9491b9a7dba979f97eed5fab;p=mirrors%2FFD230.git 调整自动关机电量 --- diff --git a/code/sdk/zhihui/services/battery/service/battery_service.cpp b/code/sdk/zhihui/services/battery/service/battery_service.cpp index e3871d5bd..05561f491 100644 --- a/code/sdk/zhihui/services/battery/service/battery_service.cpp +++ b/code/sdk/zhihui/services/battery/service/battery_service.cpp @@ -96,7 +96,11 @@ static unsigned long g_app_queue = 0xFFFFFFFF; #define BATTERY_CMD_FIRST_CHECK 0x15 #define BATTERY_LOWPOWER_ALARM_POWERLEVEL 10 +#ifdef BOARD_LEINIAO +#define BATTERY_LOWPOWER_ALARM_SHUTDOWNLEVEL 2 +#else #define BATTERY_LOWPOWER_ALARM_SHUTDOWNLEVEL 5 +#endif #define BATTERY_DISABLE_CHARGE_HI_TEMP_VALUE (50.0f) //停止充电温度 #define BATTERY_VOLTAGE_DEBOUNCE 2