1{
2  "Sensors": [
3    {
4      "Name": "soc_therm",
5      "Type": "UNKNOWN",
6      "HotThreshold": ["NaN", 34.29, "NaN", "NaN", "NaN", "NaN", "NaN"],
7      "Multiplier": 0.001,
8      "PollingDelay": 300000,
9      "PassiveDelay": 7000
10    },
11    {
12      "Name": "rffe_therm",
13      "Type": "UNKNOWN",
14      "HotThreshold": ["NaN", 35.07, "NaN", "NaN", "NaN", "NaN", "NaN"],
15      "Multiplier": 0.001,
16      "PollingDelay": 300000,
17      "PassiveDelay": 7000
18    },
19    {
20      "Name": "modem_therm",
21      "Type": "UNKNOWN",
22      "HotThreshold": ["NaN", 33.31, "NaN", "NaN", "NaN", "NaN", "NaN"],
23      "Multiplier": 0.001,
24      "PollingDelay": 300000,
25      "PassiveDelay": 7000
26    },
27    {
28      "Name": "gnss_tcxo_therm",
29      "Type": "UNKNOWN",
30      "HotThreshold": ["NaN", 32.08, "NaN", "NaN", "NaN", "NaN", "NaN"],
31      "Multiplier": 0.001,
32      "PollingDelay": 300000,
33      "PassiveDelay": 7000
34    },
35    {
36      "Name": "usb_conn_therm",
37      "Type": "UNKNOWN",
38      "HotThreshold": ["NaN", 46.0, "NaN", "NaN", "NaN", "NaN", "NaN"],
39      "Multiplier": 0.001,
40      "PollingDelay": 300000,
41      "PassiveDelay": 7000
42    },
43    {
44      "Name": "charger_therm",
45      "Type": "UNKNOWN",
46      "HotThreshold": ["NaN", 34.89, "NaN", "NaN", "NaN", "NaN", "NaN"],
47      "Multiplier": 0.001,
48      "PollingDelay": 300000,
49      "PassiveDelay": 7000
50    },
51    {
52      "Name": "inner_brightness",
53      "Type": "UNKNOWN",
54      "Multiplier": 1
55    },
56    {
57      "Name": "OPEN_WEIGHT",
58      "Type": "UNKNOWN",
59      "Hidden": true,
60      "VirtualSensor": true,
61      "Formula": "COUNT_THRESHOLD",
62      "StepRatio": 0.2,
63      "Combination": ["inner_brightness"],
64      "Coefficient": [1.0],
65      "Multiplier": 1,
66      "PassiveDelay": 7000
67    },
68    {
69      "Name": "CLOSE_WEIGHT",
70      "Type": "UNKNOWN",
71      "Hidden": true,
72      "VirtualSensor": true,
73      "Formula": "WEIGHTED_AVG",
74      "Combination": ["1", "OPEN_WEIGHT"],
75      "CombinationType": ["CONSTANT", "SENSOR"],
76      "Coefficient": [1.0, -1.0],
77      "Multiplier": 1
78    },
79    {
80      "Name": "VIRTUAL-SKIN-CHARGE-OPEN",
81      "Type": "UNKNOWN",
82      "Hidden": true,
83      "VirtualSensor": true,
84      "Formula": "WEIGHTED_AVG",
85      "Combination": [
86        "soc_therm",
87        "rffe_therm",
88        "modem_therm",
89        "gnss_tcxo_therm"
90      ],
91      "Coefficient": [0.119, 0.103, 0.481, 0.288],
92      "Offset": -203,
93      "Multiplier": 0.001
94    },
95    {
96      "Name": "VIRTUAL-SKIN-CHARGE-CLOSE",
97      "Type": "UNKNOWN",
98      "Hidden": true,
99      "VirtualSensor": true,
100      "Formula": "WEIGHTED_AVG",
101      "Combination": ["soc_therm", "rffe_therm", "modem_therm"],
102      "Coefficient": [0.223, 0.175, 0.493],
103      "Offset": 2631,
104      "Multiplier": 0.001
105    },
106    {
107      "Name": "thb_hda",
108      "Type": "UNKNOWN",
109      "Multiplier": 1
110    },
111    {
112      "Name": "WLC_CHECK",
113      "Type": "UNKNOWN",
114      "Hidden": true,
115      "VirtualSensor": true,
116      "Formula": "COUNT_THRESHOLD",
117      "Combination": ["thb_hda", "thb_hda"],
118      "Coefficient": [1, -51],
119      "Multiplier": 1
120    },
121    {
122      "Name": "IS_WLC",
123      "Type": "UNKNOWN",
124      "VirtualSensor": true,
125      "Formula": "COUNT_THRESHOLD",
126      "StepRatio": 0.2,
127      "Combination": ["WLC_CHECK"],
128      "Coefficient": [2],
129      "Multiplier": 1,
130      "PassiveDelay": 7000
131    },
132    {
133      "Name": "NO_WLC",
134      "Type": "UNKNOWN",
135      "Hidden": true,
136      "VirtualSensor": true,
137      "Formula": "WEIGHTED_AVG",
138      "Combination": ["1", "IS_WLC"],
139      "CombinationType": ["CONSTANT", "SENSOR"],
140      "Coefficient": [1.0, -1.0],
141      "Multiplier": 1
142    },
143    {
144      "Name": "VIRTUAL-SKIN-CHARGE-WLC-EQ",
145      "Type": "UNKNOWN",
146      "Hidden": true,
147      "VirtualSensor": true,
148      "Formula": "WEIGHTED_AVG",
149      "Combination": ["rffe_therm", "charger_therm", "gnss_tcxo_therm"],
150      "Coefficient": [0.588, 0.066, 0.306],
151      "Offset": 787,
152      "Multiplier": 0.001
153    },
154    {
155      "Name": "VIRTUAL-SKIN-CHARGE-WIRED-OPEN",
156      "Type": "UNKNOWN",
157      "Hidden": true,
158      "VirtualSensor": true,
159      "Formula": "WEIGHTED_AVG",
160      "Combination": ["soc_therm", "rffe_therm", "modem_therm", "gnss_tcxo_therm"],
161      "Coefficient": [0.119, 0.103, 0.481, 0.288],
162      "Offset": -203,
163      "Multiplier": 0.001
164    },
165    {
166      "Name": "VIRTUAL-SKIN-CHARGE-WIRED-CLOSE",
167      "Type": "UNKNOWN",
168      "Hidden": true,
169      "VirtualSensor": true,
170      "Formula": "WEIGHTED_AVG",
171      "Combination": ["soc_therm", "rffe_therm", "modem_therm"],
172      "Coefficient": [0.223, 0.175, 0.493],
173      "Offset": 2631,
174      "Multiplier": 0.001
175    },
176    {
177      "Name": "VIRTUAL-SKIN-CHARGE-WIRED-EQ",
178      "Type": "UNKNOWN",
179      "Hidden": true,
180      "VirtualSensor": true,
181      "Formula": "WEIGHTED_AVG",
182      "Combination": ["VIRTUAL-SKIN-CHARGE-WIRED-OPEN", "VIRTUAL-SKIN-CHARGE-WIRED-CLOSE"],
183      "Coefficient": ["OPEN_WEIGHT", "CLOSE_WEIGHT"],
184      "CoefficientType": ["SENSOR", "SENSOR"],
185      "Multiplier": 0.001
186    },
187    {
188      "Name": "VIRTUAL-SKIN-CHARGE-WIRED",
189      "Type": "UNKNOWN",
190      "Version": "0.2",
191      "VirtualSensor": true,
192      "TriggerSensor": "charger_therm",
193      "Formula": "MAXIMUM",
194      "Combination": ["VIRTUAL-SKIN-CHARGE-WIRED-EQ"],
195      "Coefficient": ["NO_WLC"],
196      "CoefficientType": ["SENSOR"],
197      "HotThreshold": ["NAN", 34.0, 38.0, 41.0, 45.0, 46.5, 57.0],
198      "HotHysteresis": [0.0, 1.9, 3.9, 2.9, 3.9, 1.4, 1.9],
199      "Multiplier": 0.001,
200      "PollingDelay": 300000,
201      "PassiveDelay": 7000,
202      "PIDInfo": {
203        "K_Po": ["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"],
204        "K_Pu": ["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"],
205        "K_I": ["NAN", "NAN", 50, "NAN", "NAN", "NAN", "NAN"],
206        "K_D": ["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
207        "I_Max": ["NAN", "NAN", 1302, "NAN", "NAN", "NAN", "NAN"],
208        "S_Power": ["NAN", "NAN", 2527, "NAN", "NAN", "NAN", "NAN"],
209        "MinAllocPower": ["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
210        "MaxAllocPower": ["NAN", "NAN", 6219, "NAN", "NAN", "NAN", "NAN"],
211        "I_Cutoff": ["NAN", "NAN", 6, "NAN", "NAN", "NAN", "NAN"],
212        "I_Default": 846
213      },
214      "ExcludedPowerInfo": [
215        {
216          "PowerRail": "PARTIAL_SYSTEM_POWER",
217          "PowerWeight": [0.12, 0.12, 1.0, 1.0, 1.0, 1.0, 1.0]
218        }
219      ],
220      "BindedCdevInfo": [
221        {
222          "CdevRequest": "chg_mdis",
223          "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
224          "MaxReleaseStep": 1,
225          "MaxThrottleStep": 1,
226          "CdevCeiling": [0, 25, 25, 25, 26, 26, 26],
227          "LimitInfo": [0, 0, 1, 1, 1, 26, 26]
228        }
229      ]
230    },
231    {
232      "Name": "VIRTUAL-SKIN-CHARGE-PERSIST",
233      "Type": "UNKNOWN",
234      "Version": "2.0",
235      "VirtualSensor": true,
236      "TriggerSensor": ["soc_therm", "rffe_therm", "charger_therm", "modem_therm", "gnss_tcxo_therm"],
237      "Formula": "WEIGHTED_AVG",
238      "Combination":["VIRTUAL-SKIN-CHARGE-WLC-EQ", "VIRTUAL-SKIN-CHARGE-WIRED-EQ"],
239      "Coefficient":["IS_WLC", "NO_WLC"],
240      "CoefficientType": ["SENSOR", "SENSOR"],
241      "HotThreshold": ["NaN", 35.0, 41.0, 45.0, 47.0, 51.0, 57.0],
242      "HotHysteresis": [0.0, 1.9, 1.9, 3.9, 1.9, 1.9, 1.9],
243      "Multiplier": 0.001,
244      "PollingDelay": 300000,
245      "PassiveDelay": 7000,
246      "PIDInfo": {
247        "K_Po": ["NaN", "NaN", 213, "NaN", "NaN", "NaN", "NaN"],
248        "K_Pu": ["NaN", "NaN", 213, "NaN", "NaN", "NaN", "NaN"],
249        "K_I": ["NaN", "NaN", 27, "NaN", "NaN", "NaN", "NaN"],
250        "K_D": ["NaN", "NaN", 0, "NaN", "NaN", "NaN", "NaN"],
251        "I_Max": ["NaN", "NaN", 1383, "NaN", "NaN", "NaN", "NaN"],
252        "S_Power": ["NaN", "NaN", 2383, "NaN", "NaN", "NaN", "NaN"],
253        "MinAllocPower": ["NaN", "NaN", 0, "NaN", "NaN", "NaN", "NaN"],
254        "MaxAllocPower": ["NaN", "NaN", 8022, "NaN", "NaN", "NaN", "NaN"],
255        "I_Cutoff": ["NaN", "NaN", 8, "NaN", "NaN", "NaN", "NaN"],
256        "I_Default": 1383
257      },
258      "ExcludedPowerInfo": [
259        {
260          "PowerRail": "PARTIAL_SYSTEM_POWER",
261          "PowerWeight": [0.21, 0.21, 0.21, 0.21, 0.42, 0.42, 0.42]
262        }
263      ],
264      "BindedCdevInfo": [
265        {
266          "CdevRequest": "chg_mdis",
267          "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
268          "MaxReleaseStep": 1,
269          "MaxThrottleStep": 1,
270          "CdevCeiling": [0, 25, 25, 26, 26, 26, 26],
271          "LimitInfo": [0, 0, 1, 1, 26, 26, 26]
272        }
273      ]
274    },
275    {
276      "Name": "USB-MINUS-CHARGER",
277      "Type": "UNKNOWN",
278      "VirtualSensor": true,
279      "Hidden": true,
280      "TriggerSensor": "usb_conn_therm",
281      "Formula": "WEIGHTED_AVG",
282      "Combination": ["usb_conn_therm", "charger_therm"],
283      "Coefficient": [1.0, -1.0],
284      "Multiplier": 0.001
285    },
286    {
287      "Name": "VIRTUAL-USB-THROTTLING",
288      "Type": "USB_PORT",
289      "Version": "0.1",
290      "VirtualSensor": true,
291      "Formula": "COUNT_THRESHOLD",
292      "TriggerSensor": "usb_conn_therm",
293      "Combination": ["usb_conn_therm", "USB-MINUS-CHARGER"],
294      "Coefficient": [46000, 7000],
295      "HotThreshold": ["NaN", "NaN", "NaN", "NaN", "2.0", "NaN", "NaN"],
296      "BindedCdevInfo": [
297        {
298          "CdevRequest": "usbc-port",
299          "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
300        }
301      ],
302      "Multiplier": 1,
303      "PollingDelay": 300000,
304      "PassiveDelay": 7000
305    }
306  ],
307  "CoolingDevices": [
308    {
309      "Name": "chg_mdis",
310      "Type": "BATTERY"
311    },
312    {
313      "Name": "usbc-port",
314      "Type": "BATTERY"
315    }
316  ],
317  "PowerRails": [
318    {
319      "Name": "PARTIAL_SYSTEM_POWER",
320      "VirtualRails": true,
321      "Formula": "WEIGHTED_AVG",
322      "Combination": [
323        "S1S_VDD_CAM",
324        "S4S_VDD2H_MEM",
325        "S5S_VDDQ_MEM",
326        "S9S_VDD_AOC",
327        "L2S_PLL_MIPI_UFS",
328        "L21S_VDD2L_MEM",
329        "VSYS_PWR_DISPLAY",
330        "VSYS_PWR_WLAN_BT",
331        "S1M_VDD_MIF",
332        "S5M_VDD_INT",
333        "S6M_LLDO1",
334        "S7M_VDD_TPU",
335        "S8M_LLDO2",
336        "VSYS_PWR_MODEM"
337      ],
338      "Coefficient": [
339        1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
340      ],
341      "PowerSampleDelay": 7000,
342      "PowerSampleCount": 5
343    }
344  ]
345}
346