RUNTIME_LOG_RING_PLAY_STOP_FINDWATCH, // 0x0F06 查找手表铃声播放停止
//低功耗记录
- RUNTIME_LOG_lOW_POWER_MIN = 0x1000,
-
+ RUNTIME_LOG_lOW_POWER_MIN = 0x1000,
+ RUNTIME_LOG_lOW_POWER_M_SLEEP=0x10ff,
//录音
RUNTIME_LOG_RECORD_MIN = 0x1100,
RUNTIME_LOG_RECORD_START, // 0x1101 录音开始
#include "los_status.h"
#include "oal_interface.h"
#include "rtc.h"
+#include "custom_save_runtime.h"
static void print_app_system_sleep_info(void)
{
PRINT("M core deepsleep cnt:%d, light cnt:%d\r\n", deepsleep_cnt, lightsleep_cnt);
PRINT("M core last veto id:%d, last veto count:%d\r\n", sleep_info->sleep_veto.last_veto_id,
sleep_info->sleep_veto.last_veto_count);
+ if(m_core_sleep)
+ uapi_save_runtime_log(RUNTIME_LOG_lOW_POWER_M_SLEEP);
+ else
+ uapi_save_runtime_log(RUNTIME_LOG_lOW_POWER_MIN);
+
+ uapi_save_runtime_log(RUNTIME_LOG_lOW_POWER_MIN|sleep_info->sleep_veto.last_veto_id);
+
+
+
+
}
static int tesetsuit_m_sys_enter_lightsleep(int argc, char *argv[])