1{
2    "Sensors":[
3        {
4            "Name":"north_therm",
5            "Type":"UNKNOWN",
6            "HotThreshold":["NAN", 42.1, "NAN", "NAN", "NAN", "NAN", "NAN"],
7            "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
8            "Multiplier":0.001,
9            "PollingDelay":60000,
10            "PassiveDelay":7000
11        },
12        {
13            "Name":"rfpa_therm",
14            "Type":"UNKNOWN",
15            "HotThreshold":["NAN", 43.7, "NAN", "NAN", "NAN", "NAN", "NAN"],
16            "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
17            "Multiplier":0.001,
18            "PollingDelay":60000,
19            "PassiveDelay":7000
20        },
21        {
22            "Name":"soc_therm",
23            "Type":"UNKNOWN",
24            "HotThreshold":["NAN", 57.2, "NAN", "NAN", "NAN", "NAN", "NAN"],
25            "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
26            "Multiplier":0.001,
27            "PollingDelay":60000,
28            "PassiveDelay":7000
29        },
30        {
31            "Name":"charging_therm",
32            "Type":"UNKNOWN",
33            "HotThreshold":["NAN", 58.4, "NAN", "NAN", "NAN", "NAN", "NAN"],
34            "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
35            "Multiplier":0.001,
36            "PollingDelay":60000,
37            "PassiveDelay":7000
38        },
39        {
40            "Name":"disp_therm",
41            "Type":"UNKNOWN",
42            "HotThreshold":["NAN", 41.7, "NAN", "NAN", "NAN", "NAN", "NAN"],
43            "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
44            "Multiplier":0.001,
45            "PollingDelay":60000,
46            "PassiveDelay":7000
47        },
48        {
49            "Name":"battery",
50            "Type":"BATTERY",
51            "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 60.0],
52            "Multiplier":0.001
53        },
54        {
55            "Name":"btmspkr_therm",
56            "Type":"UNKNOWN",
57            "HotThreshold":["NAN", 54.1, "NAN", "NAN", "NAN", "NAN", "NAN"],
58            "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
59            "Multiplier":0.001,
60            "PollingDelay":60000,
61            "PassiveDelay":7000
62        },
63        {
64            "Name":"quiet_therm",
65            "Type":"UNKNOWN",
66            "HotThreshold":["NAN", 44.6, "NAN", "NAN", "NAN", "NAN", "NAN"],
67            "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
68            "Multiplier":0.001,
69            "PollingDelay":60000,
70            "PassiveDelay":7000
71        },
72        {
73            "Name":"usb_pwr_therm",
74            "Type":"UNKNOWN",
75            "HotThreshold":["NAN", 45.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
76            "Multiplier":0.001,
77            "PollingDelay":60000,
78            "PassiveDelay":7000
79        },
80        {
81            "Name": "VIRTUAL-SKIN-CHARGE-SUB-0",
82            "Type": "UNKNOWN",
83            "Hidden": true,
84            "VirtualSensor": true,
85            "Formula": "WEIGHTED_AVG",
86            "Combination": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
87            "Coefficient": [0.03, 0.08, 0.165, 0.164, 0.104, 0.158, 0.158, 0.14],
88            "Offset": -1068.0,
89            "Multiplier": 0.001
90        },
91        {
92            "Name": "VIRTUAL-SKIN-CHARGE-SUB-1",
93            "Type": "UNKNOWN",
94            "Hidden": true,
95            "VirtualSensor": true,
96            "Formula": "WEIGHTED_AVG",
97            "Combination": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
98            "Coefficient": [0.004, 0.24, 0.04, 0.354, 0.05, 0.09, 0.032, 0.191],
99            "Offset": -672.0,
100            "Multiplier": 0.001
101        },
102        {
103            "Name": "VIRTUAL-SKIN-CHARGE-SUB-2",
104            "Type": "UNKNOWN",
105            "Hidden": true,
106            "VirtualSensor": true,
107            "Formula": "WEIGHTED_AVG",
108            "Combination": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
109            "Coefficient": [0.033, 0.019, 0.07, 0.025, 0.396, 0.089, 0.02, 0.347],
110            "Offset": -583.0,
111            "Multiplier": 0.001
112        },
113        {
114            "Name": "VIRTUAL-SKIN-CHARGE-SUB-3",
115            "Type": "UNKNOWN",
116            "Hidden": true,
117            "VirtualSensor": true,
118            "Formula": "WEIGHTED_AVG",
119            "Combination": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
120            "Coefficient": [0.003, 0.099, 0.245, 0.134, 0.11, 0.169, 0.147, 0.092],
121            "Offset": -1871.0,
122            "Multiplier": 0.001
123        },
124        {
125            "Name":"VIRTUAL-SKIN-CHARGE",
126            "Type":"UNKNOWN",
127            "Version":"9.1",
128            "Hidden":true,
129            "VirtualSensor":true,
130            "Formula":"MAXIMUM",
131            "Combination": ["VIRTUAL-SKIN-CHARGE-SUB-0", "VIRTUAL-SKIN-CHARGE-SUB-1", "VIRTUAL-SKIN-CHARGE-SUB-2", "VIRTUAL-SKIN-CHARGE-SUB-3"],
132            "Coefficient": [1.0, 1.0, 1.0, 1.0],
133            "Multiplier":0.001
134        },
135        {
136            "Name":"thb_hda",
137            "Type":"UNKNOWN",
138            "Multiplier":1
139        },
140        {
141            "Name":"WLC_CHECK",
142            "Type":"UNKNOWN",
143            "Hidden":true,
144            "VirtualSensor":true,
145            "Formula":"COUNT_THRESHOLD",
146            "Combination":["thb_hda", "thb_hda"],
147            "Coefficient":[1, -51],
148            "Multiplier":1
149        },
150        {
151            "Name":"NO_WLC",
152            "Type":"UNKNOWN",
153            "Hidden":true,
154            "VirtualSensor":true,
155            "Formula":"COUNT_THRESHOLD",
156            "Combination":["WLC_CHECK"],
157            "Coefficient":[-2],
158            "Multiplier":1
159        },
160        {
161            "Name":"VIRTUAL-SKIN-CHARGE-WIRED",
162            "Type":"UNKNOWN",
163            "VirtualSensor":true,
164            "TriggerSensor": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
165            "Formula":"WEIGHTED_AVG",
166            "Combination":["VIRTUAL-SKIN-CHARGE"],
167            "Coefficient":["NO_WLC"],
168            "CoefficientType": ["SENSOR"],
169            "HotThreshold":["NAN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0],
170            "HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9],
171            "Multiplier":0.001,
172            "PollingDelay":300000,
173            "PassiveDelay":7000,
174            "PIDInfo": {
175                "K_Po":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"],
176                "K_Pu":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"],
177                "K_I":["NAN", "NAN", 50, "NAN", "NAN", "NAN", "NAN"],
178                "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
179                "I_Max":["NAN", "NAN", 1302, "NAN", "NAN", "NAN", "NAN"],
180                "S_Power":["NAN", "NAN", 2527, "NAN", "NAN", "NAN", "NAN"],
181                "MinAllocPower":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
182                "MaxAllocPower":["NAN", "NAN", 6219, "NAN", "NAN", "NAN", "NAN"],
183                "I_Cutoff":["NAN", "NAN", 6, "NAN", "NAN", "NAN", "NAN"],
184                "I_Default":846
185            },
186            "ExcludedPowerInfo": [
187                {
188                    "PowerRail": "PARTIAL_SYSTEM_POWER",
189                    "PowerWeight": [0.12, 0.12, 1.0, 1.0, 1.0, 1.0, 1.0]
190                }
191            ],
192            "BindedCdevInfo": [
193                {
194                    "CdevRequest": "chg_mdis",
195                    "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
196                    "MaxReleaseStep": 1,
197                    "MaxThrottleStep": 1,
198                    "CdevCeiling": [0, 25, 25, 25, 26, 26, 26],
199                    "LimitInfo": [0, 0, 1, 1, 1, 26, 26]
200                }
201            ]
202        },
203        {
204            "Name":"VIRTUAL-SKIN-CHARGE-PERSIST",
205            "Type":"UNKNOWN",
206            "VirtualSensor":true,
207            "TriggerSensor": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
208            "Formula":"WEIGHTED_AVG",
209            "Combination":["VIRTUAL-SKIN-CHARGE"],
210            "Coefficient":[1.0],
211            "HotThreshold":["NaN", 35.0, 41.0, 45.0, 47.0, 51.0, 55.0],
212            "HotHysteresis":[0.0, 1.9, 1.9, 3.9, 1.9, 1.9, 1.9],
213            "Multiplier":0.001,
214            "PollingDelay":300000,
215            "PassiveDelay":7000,
216            "PIDInfo": {
217                "K_Po":["NaN", "NaN", 213, "NaN", "NaN", "NaN", "NaN"],
218                "K_Pu":["NaN", "NaN", 213, "NaN", "NaN", "NaN", "NaN"],
219                "K_I":["NaN", "NaN", 27, "NaN", "NaN", "NaN", "NaN"],
220                "K_D":["NaN", "NaN", 0, "NaN", "NaN", "NaN", "NaN"],
221                "I_Max":["NaN", "NaN", 1383, "NaN", "NaN", "NaN", "NaN"],
222                "S_Power":["NaN", "NaN", 2383, "NaN", "NaN", "NaN", "NaN"],
223                "MinAllocPower":["NaN", "NaN", 0, "NaN", "NaN", "NaN", "NaN"],
224                "MaxAllocPower":["NaN", "NaN", 8022, "NaN", "NaN", "NaN", "NaN"],
225                "I_Cutoff":["NaN", "NaN", 8, "NaN", "NaN", "NaN", "NaN"],
226                "I_Default":1383
227            },
228            "ExcludedPowerInfo": [
229                {
230                    "PowerRail": "PARTIAL_SYSTEM_POWER",
231                    "PowerWeight": [0.21, 0.21, 0.21, 0.21, 0.42, 0.42, 0.42]
232                }
233            ],
234            "BindedCdevInfo": [
235                {
236                    "CdevRequest": "chg_mdis",
237                    "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
238                    "MaxReleaseStep": 1,
239                    "MaxThrottleStep": 1,
240                    "CdevCeiling": [0, 25, 25, 26, 26, 26, 26],
241                    "LimitInfo": [0, 0, 1, 1, 26, 26, 26]
242                }
243            ]
244        },
245        {
246            "Name": "VIRTUAL-USB-THROTTLING",
247            "Type": "UNKNOWN",
248            "VirtualSensor": true,
249            "Formula": "WEIGHTED_AVG",
250            "TriggerSensor": "usb_pwr_therm",
251            "Combination": ["usb_pwr_therm"],
252            "Coefficient": [1.0],
253            "HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"],
254            "HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0],
255            "BindedCdevInfo": [
256                {
257                    "CdevRequest": "usbc-port",
258                    "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
259                }
260            ],
261            "Multiplier": 0.001,
262            "PollingDelay": 300000,
263            "PassiveDelay": 7000
264        }
265    ],
266    "CoolingDevices":[
267        {
268            "Name":"chg_mdis",
269            "Type":"BATTERY"
270        },
271        {
272            "Name":"usbc-port",
273            "Type":"BATTERY"
274        }
275    ],
276    "PowerRails":[
277        {
278            "Name":"PARTIAL_SYSTEM_POWER",
279            "VirtualRails":true,
280            "Formula":"WEIGHTED_AVG",
281            "Combination":["S1S_VDD_CAM", "S4S_VDD2H_MEM", "S5S_VDDQ_MEM", "S9S_VDD_AOC", "L2S_PLL_MIPI_UFS", "L21S_VDD2L_MEM", "VSYS_PWR_DISPLAY", "VSYS_PWR_WLAN_BT", "S1M_VDD_MIF", "S5M_VDD_INT", "S6M_LLDO1", "S7M_VDD_TPU", "S8M_LLDO2", "VSYS_PWR_MODEM"],
282            "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],
283            "PowerSampleDelay":7000,
284            "PowerSampleCount":5
285        }
286    ]
287}
288