1{ 2 "Sensors":[ 3 { 4 "Name":"neutral_therm", 5 "Type":"UNKNOWN", 6 "TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp", 7 "Multiplier":0.001 8 }, 9 { 10 "Name":"quiet_therm", 11 "Type":"UNKNOWN", 12 "TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp", 13 "Multiplier":0.001 14 }, 15 { 16 "Name":"skin_therm", 17 "Type":"UNKNOWN", 18 "HotThreshold":["NAN", 32.0, "NAN", "NAN", "NAN", "NAN", "NAN"], 19 "TempPath":"/dev/thermal/tz-by-name/skin_therm/tz_temp", 20 "Multiplier":0.001, 21 "PollingDelay":300000, 22 "PassiveDelay":7000 23 }, 24 { 25 "Name":"usb_pwr_therm", 26 "Type":"UNKNOWN", 27 "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp", 28 "Multiplier":0.001 29 }, 30 { 31 "Name":"usb_pwr_therm2", 32 "Type":"UNKNOWN", 33 "HotThreshold":["NAN", 40.0, "NAN", "NAN", "NAN", "NAN", "NAN"], 34 "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp", 35 "Multiplier":0.001, 36 "PollingDelay":300000, 37 "PassiveDelay":7000 38 }, 39 { 40 "Name":"inner_disp_therm", 41 "Type":"UNKNOWN", 42 "TempPath":"/dev/thermal/tz-by-name/inner_disp_therm/tz_temp", 43 "Multiplier":0.001 44 }, 45 { 46 "Name":"outer_disp_therm", 47 "Type":"UNKNOWN", 48 "TempPath":"/dev/thermal/tz-by-name/outer_disp_therm/tz_temp", 49 "Multiplier":0.001 50 }, 51 { 52 "Name":"gnss_tcxo_therm", 53 "Type":"UNKNOWN", 54 "TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp", 55 "Multiplier":0.001 56 }, 57 { 58 "Name":"inner-disp", 59 "Type":"UNKNOWN", 60 "Multiplier":1 61 }, 62 { 63 "Name":"IS_OPEN", 64 "Type":"UNKNOWN", 65 "Hidden":true, 66 "VirtualSensor":true, 67 "Formula":"COUNT_THRESHOLD", 68 "Combination":["inner-disp"], 69 "Coefficient":[1.0], 70 "Multiplier":1 71 }, 72 { 73 "Name":"IS_CLOSE", 74 "Type":"UNKNOWN", 75 "Hidden":true, 76 "VirtualSensor":true, 77 "Formula":"COUNT_THRESHOLD", 78 "Combination":["inner-disp"], 79 "Coefficient":[-1.0], 80 "Multiplier":1 81 }, 82 { 83 "Name":"CLOSE-SUB1", 84 "Type":"UNKNOWN", 85 "Hidden":true, 86 "VirtualSensor":true, 87 "Formula":"WEIGHTED_AVG", 88 "Combination":["neutral_therm", "skin_therm", "usb_pwr_therm", "outer_disp_therm"], 89 "Coefficient":[-0.15, -0.45, 0.2, 1.5], 90 "Offset":-670, 91 "Multiplier":0.001 92 }, 93 { 94 "Name":"CLOSE-SUB2", 95 "Type":"UNKNOWN", 96 "Hidden":true, 97 "VirtualSensor":true, 98 "Formula":"WEIGHTED_AVG", 99 "Combination":["neutral_therm", "skin_therm", "usb_pwr_therm", "outer_disp_therm", "gnss_tcxo_therm"], 100 "Coefficient":[0.3, 0.3, -0.1, 0.4, 0.1], 101 "Offset":2500, 102 "Multiplier":0.001 103 }, 104 { 105 "Name":"CLOSE-SUB3", 106 "Type":"UNKNOWN", 107 "Hidden":true, 108 "VirtualSensor":true, 109 "Formula":"WEIGHTED_AVG", 110 "Combination":["neutral_therm", "quiet_therm", "skin_therm", "usb_pwr_therm", "gnss_tcxo_therm"], 111 "Coefficient":[0.05, 0.05, 1.25, 0.15, -0.6], 112 "Offset":270, 113 "Multiplier":0.001 114 }, 115 { 116 "Name":"CLOSE-SUB4", 117 "Type":"UNKNOWN", 118 "Hidden":true, 119 "VirtualSensor":true, 120 "Formula":"WEIGHTED_AVG", 121 "Combination":["neutral_therm", "quiet_therm", "skin_therm", "usb_pwr_therm", "usb_pwr_therm2"], 122 "Coefficient":[0.4, 1.65, -1.2, 0.6, -0.55], 123 "Offset":2350, 124 "Multiplier":0.001 125 }, 126 { 127 "Name":"CLOSE-SUB5", 128 "Type":"UNKNOWN", 129 "Hidden":true, 130 "VirtualSensor":true, 131 "Formula":"WEIGHTED_AVG", 132 "Combination":["neutral_therm", "quiet_therm", "skin_therm", "usb_pwr_therm", "usb_pwr_therm2", "outer_disp_therm", "gnss_tcxo_therm"], 133 "Coefficient":[-1.3, 1.05, 0.65, 0.15, 1, -0.05, -0.5], 134 "Offset":120, 135 "Multiplier":0.001 136 }, 137 { 138 "Name":"CLOSE-SUB6", 139 "Type":"UNKNOWN", 140 "Hidden":true, 141 "VirtualSensor":true, 142 "Formula":"WEIGHTED_AVG", 143 "Combination":["neutral_therm", "quiet_therm", "skin_therm", "usb_pwr_therm", "inner_disp_therm", "gnss_tcxo_therm"], 144 "Coefficient":[-0.45, -1.2, -0.8, 0.65, 2.5, 0.2], 145 "Offset":1820, 146 "Multiplier":0.001 147 }, 148 { 149 "Name":"CLOSE-SUB-MAX", 150 "Type":"UNKNOWN", 151 "Hidden":true, 152 "VirtualSensor":true, 153 "Formula":"MAXIMUM", 154 "Combination":["CLOSE-SUB1", "CLOSE-SUB2", "CLOSE-SUB3", "CLOSE-SUB4", "CLOSE-SUB5"], 155 "Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0], 156 "Multiplier":0.001 157 }, 158 { 159 "Name":"VIRTUAL-SKIN-CLOSE", 160 "Type":"UNKNOWN", 161 "Hidden":true, 162 "VirtualSensor":true, 163 "Formula":"WEIGHTED_AVG", 164 "Combination":["CLOSE-SUB-MAX", "IS_OPEN"], 165 "Coefficient":[1.0, -1000000], 166 "Multiplier":0.001 167 }, 168 { 169 "Name":"OPEN-SUB1", 170 "Type":"UNKNOWN", 171 "Hidden":true, 172 "VirtualSensor":true, 173 "Formula":"WEIGHTED_AVG", 174 "Combination":["neutral_therm", "skin_therm", "usb_pwr_therm", "inner_disp_therm"], 175 "Coefficient":[-0.05, 0.3, 0.3, 0.35], 176 "Offset":3740, 177 "Multiplier":0.001 178 }, 179 { 180 "Name":"OPEN-SUB2", 181 "Type":"UNKNOWN", 182 "Hidden":true, 183 "VirtualSensor":true, 184 "Formula":"WEIGHTED_AVG", 185 "Combination":["neutral_therm", "quiet_therm", "skin_therm", "usb_pwr_therm", "inner_disp_therm", "gnss_tcxo_therm"], 186 "Coefficient":[-0.15, -1.05, 0.1, 0.25, 1.85, 0.05], 187 "Offset":-990, 188 "Multiplier":0.001 189 }, 190 { 191 "Name":"OPEN-SUB3", 192 "Type":"UNKNOWN", 193 "Hidden":true, 194 "VirtualSensor":true, 195 "Formula":"WEIGHTED_AVG", 196 "Combination":["neutral_therm", "quiet_therm", "skin_therm", "usb_pwr_therm", "inner_disp_therm", "gnss_tcxo_therm"], 197 "Coefficient":[-2, 1.4, 1.4, -0.4, 0.25, 0.25], 198 "Offset":-4120, 199 "Multiplier":0.001 200 }, 201 { 202 "Name":"OPEN-SUB4", 203 "Type":"UNKNOWN", 204 "Hidden":true, 205 "VirtualSensor":true, 206 "Formula":"WEIGHTED_AVG", 207 "Combination":["neutral_therm", "quiet_therm", "skin_therm", "usb_pwr_therm", "usb_pwr_therm2", "inner_disp_therm", "gnss_tcxo_therm"], 208 "Coefficient":[0.3, 1.8, 0.55, 0.4, -1.2, -0.15, -0.8], 209 "Offset":-540, 210 "Multiplier":0.001 211 }, 212 { 213 "Name":"OPEN-SUB5", 214 "Type":"UNKNOWN", 215 "Hidden":true, 216 "VirtualSensor":true, 217 "Formula":"WEIGHTED_AVG", 218 "Combination":["neutral_therm", "skin_therm", "usb_pwr_therm", "usb_pwr_therm2", "inner_disp_therm"], 219 "Coefficient":[0.15, 1.05, -0.65, 1, -0.55], 220 "Offset":3540, 221 "Multiplier":0.001 222 }, 223 { 224 "Name":"OPEN-SUB-MAX", 225 "Type":"UNKNOWN", 226 "Hidden":true, 227 "VirtualSensor":true, 228 "Formula":"MAXIMUM", 229 "Combination":["OPEN-SUB1", "OPEN-SUB2", "OPEN-SUB3", "OPEN-SUB4", "OPEN-SUB5"], 230 "Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0], 231 "Multiplier":0.001 232 }, 233 { 234 "Name":"VIRTUAL-SKIN-OPEN", 235 "Type":"UNKNOWN", 236 "Hidden":true, 237 "VirtualSensor":true, 238 "Formula":"WEIGHTED_AVG", 239 "Combination":["OPEN-SUB-MAX", "IS_CLOSE"], 240 "Coefficient":[1.0, -1000000], 241 "Multiplier":0.001 242 }, 243 { 244 "Name":"VIRTUAL-SKIN-CHARGE", 245 "Type":"UNKNOWN", 246 "Version":"0.3", 247 "Hidden":true, 248 "VirtualSensor":true, 249 "TriggerSensor":"skin_therm", 250 "Formula":"MAXIMUM", 251 "Combination":["VIRTUAL-SKIN-CLOSE", "VIRTUAL-SKIN-OPEN"], 252 "Coefficient":[1.0, 1.0], 253 "HotThreshold":["NAN", 25.0, 39.0, 41.0, 45.0, 46.5, 54.0], 254 "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.4, 1.9], 255 "Multiplier":0.001, 256 "PollingDelay":60000, 257 "PassiveDelay":60000, 258 "PIDInfo": { 259 "K_Po":["NAN", "NAN", 1000, "NAN", "NAN", "NAN", "NAN"], 260 "K_Pu":["NAN", "NAN", 30, "NAN", "NAN", "NAN", "NAN"], 261 "K_I":["NAN", "NAN", 40, "NAN", "NAN", "NAN", "NAN"], 262 "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], 263 "I_Max":["NAN", "NAN", 1500, "NAN", "NAN", "NAN", "NAN"], 264 "S_Power":["NAN", "NAN", 3000, "NAN", "NAN", "NAN", "NAN"], 265 "MinAllocPower":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], 266 "MaxAllocPower":["NAN", "NAN", 10000, "NAN", "NAN", "NAN", "NAN"], 267 "I_Cutoff":["NAN", "NAN", 14, "NAN", "NAN", "NAN", "NAN"], 268 "I_Default":1500 269 }, 270 "ExcludedPowerInfo": [ 271 { 272 "PowerRail": "PARTIAL_SYSTEM_POWER", 273 "PowerWeight": [1.6, 1.6, 1.6, 1.6, 1.6, 1.6, 1.6] 274 } 275 ], 276 "BindedCdevInfo": [ 277 { 278 "CdevRequest": "chg_mdis", 279 "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], 280 "MaxReleaseStep": 1, 281 "MaxThrottleStep": 2, 282 "CdevCeiling": [0, 10, 11, 11, 12, 12, 12], 283 "LimitInfo": [0, 0, 0, 0, 0, 12, 12] 284 } 285 ] 286 }, 287 { 288 "Name":"USB2-MINUS-USB", 289 "Type":"UNKNOWN", 290 "Hidden":true, 291 "VirtualSensor":true, 292 "TriggerSensor": "usb_pwr_therm2", 293 "Formula":"WEIGHTED_AVG", 294 "Combination":["usb_pwr_therm2", "usb_pwr_therm"], 295 "Coefficient":[1.0, -1.0], 296 "Multiplier":0.001 297 }, 298 { 299 "Name":"VIRTUAL-USB-THROTTLING", 300 "Type":"UNKNOWN", 301 "Hidden":true, 302 "VirtualSensor":true, 303 "Formula":"COUNT_THRESHOLD", 304 "TriggerSensor": "usb_pwr_therm2", 305 "Combination":["usb_pwr_therm2", "USB2-MINUS-USB"], 306 "Coefficient":[40000, 10000], 307 "HotThreshold":["NAN", "NAN", "NAN", "NAN", "2.0", "NAN", "NAN"], 308 "BindedCdevInfo": [ 309 { 310 "CdevRequest": "usbc-port", 311 "LimitInfo": [0, 0, 0, 0, 1, 1, 1] 312 } 313 ], 314 "Multiplier":1, 315 "PollingDelay":300000, 316 "PassiveDelay":7000 317 } 318 ], 319 "CoolingDevices":[ 320 { 321 "Name":"chg_mdis", 322 "Type":"BATTERY", 323 "State2Power":[4122, 3623, 3308, 2824, 2524, 2241, 1864, 1635, 1319, 932, 632, 344, 0] 324 }, 325 { 326 "Name":"usbc-port", 327 "Type":"BATTERY" 328 } 329 ], 330 "PowerRails":[ 331 { 332 "Name":"PARTIAL_SYSTEM_POWER", 333 "VirtualRails":true, 334 "Formula":"WEIGHTED_AVG", 335 "Combination":["VSYS_PWR_MMWAVE", "VSYS_PWR_MODEM", "VSYS_PWR_RFFE", "S1M_VDD_MIF", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S8M_LLDO2", 336 "S10M_VDD_TPU", "VSYS_PWR_DISPLAY", "VSYS_PWR_WLAN_BT", "VSYS_PWR_CAM", "S1S_VDD_CAM","S2S_VDD_G3D", "S4S_VDD2H_MEM", "S8S_VDD_G3D_L2", "L2S_PLL_MIPI_UFS"], 337 "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], 338 "PowerSampleDelay":60000, 339 "PowerSampleCount":1 340 } 341 ] 342} 343