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