1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
{
"platform" : "qcom",
"monitor_status" : {
"comments" : "ibus, vbus, rbat, cap_fcc, real_soc, cycle",
"table" : [1, 1, 0, 1, 1, 1]
},
"sensor" : {
"system_h" : {
"name" : "system_h",
"accuracy" : 1
},
"battery" : {
"name" : "Battery",
"accuracy" : 1
},
"shell_frame" : {
"name" : "shell_frame",
"accuracy" : 1
},
"shell_front" : {
"name" : "shell_front",
"accuracy" : 1
},
"shell_back" : {
"name" : "shell_back",
"accuracy" : 1
}
},
"monitor_enable" : true,
"monitor_upload_bigdata" : true,
"monitor_interval_time" : 5,
"monitor_valid_time" : 1800,
"monitor_bigdata_valid_time" : 300,
"monitor_cc_valid_time" : 300,
"support_scp" : true,
"monitor_power_off_valid_time" : 1800,
"fault_monitor" : {
"temp_battery_stage" : {
"enable" : true,
"step" : 0,
"param" : [-10, 0, 10, 45, 50, 200]
},
"temp_battery_step" : {
"enable" : false,
"step" : 1,
"param" : [5, 55, 200]
},
"temp_cpu_step" : {
"enable" : false,
"step" : 1,
"param" : [10, 70, 200]
},
"cc_stage_ibus" : {
"enable" : true,
"step" : 0,
"param" : [0, 500, 1000, 1500, 2000, 3000, 30000]
},
"limit_current_ibus" : {
"enable" : true,
"step" : 0,
"param" : [0, 500, 1000, 1500, 1900, 3000, 30000]
},
"limit_current_ibat" : {
"enable" : false,
"step" : 0,
"param" : [0, 200, 500, 1000, 1900, 3000, 30000]
}
},
"fault_function" : [
{
"key" : "battery_current_normal",
"enable" : true,
"error_no" : 0,
"param" : [2000, 1400, 3000, 3500]
},
{
"key" : "battery_exist",
"enable" : true,
"error_no" : 920008008,
"param" : [0]
},
{
"key" : "cc_no_ibus",
"enable" : true,
"error_no" : 920008000,
"param" : [50]
},
{
"key" : "battery_temp_extremes",
"enable" : true,
"error_no" : 920008001,
"param" : [0, 50]
},
{
"key" : "battery_temp_abnormal",
"enable" : true,
"error_no" : 920008002,
"param" : [10, 45, 50]
},
{
"key" : "limit_current_ibus",
"enable" : true,
"error_no" : 920008007,
"param" : [1300]
},
{
"key" : "limit_current_ibat",
"enable" : true,
"error_no" : 920008007,
"param" : [1400]
},
{
"key" : "cc_ibus_lower",
"enable" : true,
"error_no" : 920008004,
"param" : [700]
},
{
"key" : "ac_no_stand",
"enable" : true,
"error_no" : 920008003,
"param" : [2]
},
{
"key" : "sys_big_consume_ibus",
"enable" : true,
"error_no" : 920008005,
"param" : [1400, 10, 45, 80]
},
{
"key" : "sys_big_consume_tbat",
"enable" : true,
"error_no" : 920008005,
"param" : [6, 50]
},
{
"key" : "sys_big_consume_tcpu",
"enable" : true,
"error_no" : 920008005,
"param" : [18, 50]
}
],
"proc_filter" : [
"top -n1"
]
}
|