Bug: 377956961 Test: confirm usbc throttling and warning UI by emul_temp Flag: EXEMPT config update Change-Id: Ieb5f1bb93a9f96ba855c7ed05cdc8b9f033392ca
327 lines
13 KiB
JSON
327 lines
13 KiB
JSON
{
|
|
"Sensors":[
|
|
{
|
|
"Name":"north_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 42.1, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"rfpa_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 43.7, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"soc_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 57.2, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"charging_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 58.4, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"disp_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 41.7, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"battery",
|
|
"Type":"BATTERY",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 60.0],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"btmspkr_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 54.1, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"quiet_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 44.6, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"usb_pwr_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 45.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name": "VIRTUAL-SKIN-CHARGE-SUB-0",
|
|
"Type": "UNKNOWN",
|
|
"Hidden": true,
|
|
"VirtualSensor": true,
|
|
"Formula": "WEIGHTED_AVG",
|
|
"Combination": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
|
|
"Coefficient": [0.221, 0.009, 0.01, 0.032, 0.14, 0.069, 0.192, 0.325],
|
|
"Offset": -927.0,
|
|
"Multiplier": 0.001
|
|
},
|
|
{
|
|
"Name": "VIRTUAL-SKIN-CHARGE-SUB-1",
|
|
"Type": "UNKNOWN",
|
|
"Hidden": true,
|
|
"VirtualSensor": true,
|
|
"Formula": "WEIGHTED_AVG",
|
|
"Combination": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
|
|
"Coefficient": [0.019, 0.015, 0.225, 0.08, 0.027, 0.281, 0.018, 0.334],
|
|
"Offset": -713.0,
|
|
"Multiplier": 0.001
|
|
},
|
|
{
|
|
"Name": "VIRTUAL-SKIN-CHARGE-SUB-2",
|
|
"Type": "UNKNOWN",
|
|
"Hidden": true,
|
|
"VirtualSensor": true,
|
|
"Formula": "WEIGHTED_AVG",
|
|
"Combination": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
|
|
"Coefficient": [0.127, 0.056, 0.01, 0.019, 0.373, 0.247, 0.013, 0.156],
|
|
"Offset": -877.0,
|
|
"Multiplier": 0.001
|
|
},
|
|
{
|
|
"Name": "VIRTUAL-SKIN-CHARGE-SUB-3",
|
|
"Type": "UNKNOWN",
|
|
"Hidden": true,
|
|
"VirtualSensor": true,
|
|
"Formula": "WEIGHTED_AVG",
|
|
"Combination": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
|
|
"Coefficient": [0.018, 0.033, 0.043, 0.358, 0.034, 0.287, 0.054, 0.213],
|
|
"Offset": -1722.0,
|
|
"Multiplier": 0.001
|
|
},
|
|
{
|
|
"Name": "VIRTUAL-SKIN-CHARGE-SUB-4",
|
|
"Type": "UNKNOWN",
|
|
"Hidden": true,
|
|
"VirtualSensor": true,
|
|
"Formula": "WEIGHTED_AVG",
|
|
"Combination": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
|
|
"Coefficient": [0.109, 0.015, 0.003, 0.129, 0.05, 0.282, 0.265, 0.147],
|
|
"Offset": -995.0,
|
|
"Multiplier": 0.001
|
|
},
|
|
{
|
|
"Name": "VIRTUAL-SKIN-CHARGE-SUB-5",
|
|
"Type": "UNKNOWN",
|
|
"Hidden": true,
|
|
"VirtualSensor": true,
|
|
"Formula": "WEIGHTED_AVG",
|
|
"Combination": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
|
|
"Coefficient": [0.348, 0.025, 0.081, 0.086, 0.062, 0.213, 0.172, 0.013],
|
|
"Offset": -1998.0,
|
|
"Multiplier": 0.001
|
|
},
|
|
{
|
|
"Name": "VIRTUAL-SKIN-CHARGE-SUB-6",
|
|
"Type": "UNKNOWN",
|
|
"Hidden": true,
|
|
"VirtualSensor": true,
|
|
"Formula": "WEIGHTED_AVG",
|
|
"Combination": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
|
|
"Coefficient": [0.007, 0.038, 0.013, 0.225, 0.103, 0.09, 0.372, 0.154],
|
|
"Offset": -2627.0,
|
|
"Multiplier": 0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE",
|
|
"Type":"UNKNOWN",
|
|
"Version":"9.1",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"MAXIMUM",
|
|
"Combination": ["VIRTUAL-SKIN-CHARGE-SUB-0", "VIRTUAL-SKIN-CHARGE-SUB-1", "VIRTUAL-SKIN-CHARGE-SUB-2", "VIRTUAL-SKIN-CHARGE-SUB-3", "VIRTUAL-SKIN-CHARGE-SUB-4", "VIRTUAL-SKIN-CHARGE-SUB-5", "VIRTUAL-SKIN-CHARGE-SUB-6"],
|
|
"Coefficient": [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"thb_hda",
|
|
"Type":"UNKNOWN",
|
|
"Multiplier":1
|
|
},
|
|
{
|
|
"Name":"WLC_CHECK",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"COUNT_THRESHOLD",
|
|
"Combination":["thb_hda", "thb_hda"],
|
|
"Coefficient":[1, -51],
|
|
"Multiplier":1
|
|
},
|
|
{
|
|
"Name":"NO_WLC",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"COUNT_THRESHOLD",
|
|
"Combination":["WLC_CHECK"],
|
|
"Coefficient":[-2],
|
|
"Multiplier":1
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE-WIRED",
|
|
"Type":"UNKNOWN",
|
|
"VirtualSensor":true,
|
|
"TriggerSensor": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["VIRTUAL-SKIN-CHARGE"],
|
|
"Coefficient":["NO_WLC"],
|
|
"CoefficientType": ["SENSOR"],
|
|
"HotThreshold":["NAN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0],
|
|
"HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000,
|
|
"PIDInfo": {
|
|
"K_Po":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"],
|
|
"K_Pu":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"],
|
|
"K_I":["NAN", "NAN", 50, "NAN", "NAN", "NAN", "NAN"],
|
|
"K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
|
|
"I_Max":["NAN", "NAN", 1302, "NAN", "NAN", "NAN", "NAN"],
|
|
"S_Power":["NAN", "NAN", 2527, "NAN", "NAN", "NAN", "NAN"],
|
|
"MinAllocPower":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
|
|
"MaxAllocPower":["NAN", "NAN", 6219, "NAN", "NAN", "NAN", "NAN"],
|
|
"I_Cutoff":["NAN", "NAN", 6, "NAN", "NAN", "NAN", "NAN"],
|
|
"I_Default":846
|
|
},
|
|
"ExcludedPowerInfo": [
|
|
{
|
|
"PowerRail": "PARTIAL_SYSTEM_POWER",
|
|
"PowerWeight": [0.12, 0.12, 1.0, 1.0, 1.0, 1.0, 1.0]
|
|
}
|
|
],
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "chg_mdis",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"CdevCeiling": [0, 25, 25, 25, 26, 26, 26],
|
|
"LimitInfo": [0, 0, 1, 1, 1, 26, 26]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE-PERSIST",
|
|
"Type":"UNKNOWN",
|
|
"VirtualSensor":true,
|
|
"TriggerSensor": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["VIRTUAL-SKIN-CHARGE"],
|
|
"Coefficient":[1.0],
|
|
"HotThreshold":["NaN", 35.0, 41.0, 45.0, 47.0, 51.0, 55.0],
|
|
"HotHysteresis":[0.0, 1.9, 1.9, 3.9, 1.9, 1.9, 1.9],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000,
|
|
"PIDInfo": {
|
|
"K_Po":["NaN", "NaN", 213, "NaN", "NaN", "NaN", "NaN"],
|
|
"K_Pu":["NaN", "NaN", 213, "NaN", "NaN", "NaN", "NaN"],
|
|
"K_I":["NaN", "NaN", 27, "NaN", "NaN", "NaN", "NaN"],
|
|
"K_D":["NaN", "NaN", 0, "NaN", "NaN", "NaN", "NaN"],
|
|
"I_Max":["NaN", "NaN", 1383, "NaN", "NaN", "NaN", "NaN"],
|
|
"S_Power":["NaN", "NaN", 2383, "NaN", "NaN", "NaN", "NaN"],
|
|
"MinAllocPower":["NaN", "NaN", 0, "NaN", "NaN", "NaN", "NaN"],
|
|
"MaxAllocPower":["NaN", "NaN", 8022, "NaN", "NaN", "NaN", "NaN"],
|
|
"I_Cutoff":["NaN", "NaN", 8, "NaN", "NaN", "NaN", "NaN"],
|
|
"I_Default":1383
|
|
},
|
|
"ExcludedPowerInfo": [
|
|
{
|
|
"PowerRail": "PARTIAL_SYSTEM_POWER",
|
|
"PowerWeight": [0.21, 0.21, 0.21, 0.21, 0.42, 0.42, 0.42]
|
|
}
|
|
],
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "chg_mdis",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"CdevCeiling": [0, 25, 25, 26, 26, 26, 26],
|
|
"LimitInfo": [0, 0, 1, 1, 26, 26, 26]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name": "USB-MINUS-CHARGING",
|
|
"Type": "UNKNOWN",
|
|
"VirtualSensor": true,
|
|
"Formula": "WEIGHTED_AVG",
|
|
"Combination": ["usb_pwr_therm", "charging_therm"],
|
|
"Coefficient": [1.0, -1.0]
|
|
},
|
|
{
|
|
"Name": "VIRTUAL-USB-THROTTLING",
|
|
"Type": "UNKNOWN",
|
|
"VirtualSensor": true,
|
|
"Formula": "COUNT_THRESHOLD",
|
|
"TriggerSensor": "usb_pwr_therm",
|
|
"Combination": ["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-CHARGING"],
|
|
"Coefficient": [55000.0, 50000.0, 2000.0],
|
|
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 2.0, "NaN", "NaN"],
|
|
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.9, 0.0, 0.0],
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "usbc-port",
|
|
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
|
|
}
|
|
],
|
|
"PollingDelay": 300000,
|
|
"PassiveDelay": 7000
|
|
}
|
|
],
|
|
"CoolingDevices":[
|
|
{
|
|
"Name":"chg_mdis",
|
|
"Type":"BATTERY"
|
|
},
|
|
{
|
|
"Name":"usbc-port",
|
|
"Type":"BATTERY"
|
|
}
|
|
],
|
|
"PowerRails":[
|
|
{
|
|
"Name":"PARTIAL_SYSTEM_POWER",
|
|
"VirtualRails":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"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"],
|
|
"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],
|
|
"PowerSampleDelay":7000,
|
|
"PowerSampleCount":5
|
|
}
|
|
]
|
|
}
|