增加功耗记录脚本解析 1538/target/2 1539/1 1539/head 1540/target/1
authorpenglei <1624952103@qq.com>
Fri, 20 Dec 2024 06:49:23 +0000 (14:49 +0800)
committerpenglei <1624952103@qq.com>
Fri, 20 Dec 2024 06:49:23 +0000 (14:49 +0800)
tools/log_parser/runtimeanalysis.py

index 8478d42..57dc02c 100644 (file)
@@ -1,3 +1,11 @@
+'''\r
+Author: penglei 1624952103@qq.com\r
+Date: 2024-12-20 10:51:08\r
+LastEditors: penglei 1624952103@qq.com\r
+LastEditTime: 2024-12-20 14:14:39\r
+FilePath: /FD230/tools/log_parser/runtimeanalysis.py\r
+Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\r
+'''\r
 import os  \r
 import sys  \r
 \r
@@ -48,8 +56,17 @@ str_bin_list = [
     ['0502',"主动检测心率结束"],\r
     ['0503',"被动检测心率"],\r
     ['0504',"被动检测心率结束"],\r
+    ['0505',"运动测量心率开始或继续"],\r
+    ['0506',"运动测量心率暂停或结束"],\r
+    ['0601',"开启佩戴检测"],\r
+    ['0602',"关闭佩戴检测"],\r
     ['0701',"主动检测血氧"],\r
     ['0702',"主动检测血氧结束"],\r
+    ['0901',"抬腕亮屏"],\r
+    ['0902',"翻腕灭屏"],\r
+    ['0B01',"电量增加"],\r
+    ['0B02',"电量减少"],\r
+    ['0C01',"马达震动"],\r
     ['1201',"消息弹窗显示"]\r
       \r
 ]  \r