-/*
+/*,
* Copyright (c) CompanyNameMagicTag 2021-2021. All rights reserved.
* Description: broadcast feature implement
* Author: CompanyName
{
//提醒低电充电
set_lowpower_falg(false);
+ if (NotificationManager::GetInstance()->hasNotifyShowing())
+ NotificationManager::GetInstance()->StopNotify();
NotificationManager::GetInstance()->SetNotifyPriority(PRIORITY_TWO);
NotificationManager::GetInstance()->ShowNotify(showlowpowerNotify, (uint16_t)topic, true);
}
{
//电量过低,直接提醒关机
set_lowpower_falg(true);
+ if (NotificationManager::GetInstance()->hasNotifyShowing())
+ NotificationManager::GetInstance()->StopNotify();
NotificationManager::GetInstance()->SetNotifyPriority(PRIORITY_TWO);
NotificationManager::GetInstance()->ShowNotify(showlowpowerNotify, (uint16_t)topic, true);