优化debug界面电量信息显示,支持多页显示,调整夜间心率检测时长,调整活体检测阈值,改善佩戴不出值的情况(补)
authorpenglei <1624952103@qq.com>
Tue, 3 Dec 2024 02:20:04 +0000 (10:20 +0800)
committerpenglei <1624952103@qq.com>
Tue, 3 Dec 2024 02:20:04 +0000 (10:20 +0800)
code/sdk/application/wearable/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp

index 4205023..2348636 100644 (file)
@@ -554,7 +554,7 @@ namespace OHOS
             << charge_stat
             <<", ["<<timestr<< "] ,"
             << data[i].voltage << "V , "
-            << static_cast<int>(i) << "%\n";
+            << static_cast<int>(data[i].percent) << "%\n";
 
             result += oss.str();
             // result += std::to_string(i*10) + " min  , " + std::to_string(data[i].voltage) + "V , "+ std::to_string(data[i].percent) + "%" + "\n";