WEARABLE_LOGI(WEARABLE_LOG_MODULE_APP, "MsgCenterNotifyProc:: LowPower Alarm !");
uint8 *x= (uint8 *)(req->data);
const power_display_svr_api_t *display_api = power_display_svr_get_api();
- // if(*x==3)
- // {
- // if (display_api->get_screen_state() != SCREEN_ON)
- // {
- // display_api->turn_on_screen();
- // }
- // display_api->set_screen_set_keepon_timeout(1000*5);
- // //倒计时结束后,直接执行关机动画
- // low_power_play();
- // }
+ if(*x==3)
+ {
+ if (display_api->get_screen_state() != SCREEN_ON)
+ {
+ display_api->turn_on_screen();
+ }
+ display_api->set_screen_set_keepon_timeout(1000*5);
+ //倒计时结束后,直接执行关机动画
+ low_power_play();
+ }
if(*x==0)
{
//提醒低电充电