thermal: update thermal config
thb_hda behavior is changed to align with P24 devices, update WLC_CHECK with thb_hda changed. Flag: EXEMPT config update Bug: 377595455 Test: boot to home and thermal throttling worked properly Change-Id: I83005da7543c5886dc695bcee11bcc245588c88e
This commit is contained in:
parent
d110bdb50d
commit
4a40152e89
4 changed files with 64 additions and 20 deletions
|
@ -127,13 +127,23 @@
|
||||||
"Multiplier":1
|
"Multiplier":1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name":"IS_WLC",
|
"Name":"WLC_CHECK",
|
||||||
"Type":"UNKNOWN",
|
"Type":"UNKNOWN",
|
||||||
"Hidden":true,
|
"Hidden":true,
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"Formula":"COUNT_THRESHOLD",
|
"Formula":"COUNT_THRESHOLD",
|
||||||
"Combination":["thb_hda"],
|
"Combination":["thb_hda", "thb_hda"],
|
||||||
"Coefficient":[1],
|
"Coefficient":[1, -51],
|
||||||
|
"Multiplier":1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"NO_WLC",
|
||||||
|
"Type":"UNKNOWN",
|
||||||
|
"Hidden":true,
|
||||||
|
"VirtualSensor":true,
|
||||||
|
"Formula":"COUNT_THRESHOLD",
|
||||||
|
"Combination":["WLC_CHECK"],
|
||||||
|
"Coefficient":[-2],
|
||||||
"Multiplier":1
|
"Multiplier":1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -153,8 +163,9 @@
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "quiet_therm", "usb_pwr_therm"],
|
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "quiet_therm", "usb_pwr_therm"],
|
||||||
"Formula":"WEIGHTED_AVG",
|
"Formula":"WEIGHTED_AVG",
|
||||||
"Combination":["VIRTUAL-SKIN-CHARGE", "IS_WLC"],
|
"Combination":["VIRTUAL-SKIN-CHARGE"],
|
||||||
"Coefficient":[1.0, -1000000],
|
"Coefficient":["NO_WLC"],
|
||||||
|
"CoefficientType": ["SENSOR"],
|
||||||
"HotThreshold":["NaN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0],
|
"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],
|
"HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9],
|
||||||
"Multiplier":0.001,
|
"Multiplier":0.001,
|
||||||
|
|
|
@ -160,13 +160,23 @@
|
||||||
"Multiplier":1
|
"Multiplier":1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name":"IS_WLC",
|
"Name":"WLC_CHECK",
|
||||||
"Type":"UNKNOWN",
|
"Type":"UNKNOWN",
|
||||||
"Hidden":true,
|
"Hidden":true,
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"Formula":"COUNT_THRESHOLD",
|
"Formula":"COUNT_THRESHOLD",
|
||||||
"Combination":["thb_hda"],
|
"Combination":["thb_hda", "thb_hda"],
|
||||||
"Coefficient":[1],
|
"Coefficient":[1, -51],
|
||||||
|
"Multiplier":1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"NO_WLC",
|
||||||
|
"Type":"UNKNOWN",
|
||||||
|
"Hidden":true,
|
||||||
|
"VirtualSensor":true,
|
||||||
|
"Formula":"COUNT_THRESHOLD",
|
||||||
|
"Combination":["WLC_CHECK"],
|
||||||
|
"Coefficient":[-2],
|
||||||
"Multiplier":1
|
"Multiplier":1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -186,8 +196,9 @@
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
|
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
|
||||||
"Formula":"WEIGHTED_AVG",
|
"Formula":"WEIGHTED_AVG",
|
||||||
"Combination":["VIRTUAL-SKIN-CHARGE", "IS_WLC"],
|
"Combination":["VIRTUAL-SKIN-CHARGE"],
|
||||||
"Coefficient":[1.0, -1000000],
|
"Coefficient":["NO_WLC"],
|
||||||
|
"CoefficientType": ["SENSOR"],
|
||||||
"HotThreshold":["NaN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0],
|
"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],
|
"HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9],
|
||||||
"Multiplier":0.001,
|
"Multiplier":0.001,
|
||||||
|
|
|
@ -717,13 +717,23 @@
|
||||||
"Multiplier":1
|
"Multiplier":1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name":"IS_WLC",
|
"Name":"WLC_CHECK",
|
||||||
"Type":"UNKNOWN",
|
"Type":"UNKNOWN",
|
||||||
"Hidden":true,
|
"Hidden":true,
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"Formula":"COUNT_THRESHOLD",
|
"Formula":"COUNT_THRESHOLD",
|
||||||
"Combination":["thb_hda"],
|
"Combination":["thb_hda", "thb_hda"],
|
||||||
"Coefficient":[1],
|
"Coefficient":[1, -51],
|
||||||
|
"Multiplier":1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"NO_WLC",
|
||||||
|
"Type":"UNKNOWN",
|
||||||
|
"Hidden":true,
|
||||||
|
"VirtualSensor":true,
|
||||||
|
"Formula":"COUNT_THRESHOLD",
|
||||||
|
"Combination":["WLC_CHECK"],
|
||||||
|
"Coefficient":[-2],
|
||||||
"Multiplier":1
|
"Multiplier":1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -743,8 +753,9 @@
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "quiet_therm", "usb_pwr_therm"],
|
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "quiet_therm", "usb_pwr_therm"],
|
||||||
"Formula":"WEIGHTED_AVG",
|
"Formula":"WEIGHTED_AVG",
|
||||||
"Combination":["VIRTUAL-SKIN-CHARGE", "IS_WLC"],
|
"Combination":["VIRTUAL-SKIN-CHARGE"],
|
||||||
"Coefficient":[1.0, -1000000],
|
"Coefficient":["NO_WLC"],
|
||||||
|
"CoefficientType": ["SENSOR"],
|
||||||
"HotThreshold":["NaN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0],
|
"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],
|
"HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9],
|
||||||
"Multiplier":0.001,
|
"Multiplier":0.001,
|
||||||
|
|
|
@ -729,13 +729,23 @@
|
||||||
"Multiplier":1
|
"Multiplier":1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name":"IS_WLC",
|
"Name":"WLC_CHECK",
|
||||||
"Type":"UNKNOWN",
|
"Type":"UNKNOWN",
|
||||||
"Hidden":true,
|
"Hidden":true,
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"Formula":"COUNT_THRESHOLD",
|
"Formula":"COUNT_THRESHOLD",
|
||||||
"Combination":["thb_hda"],
|
"Combination":["thb_hda", "thb_hda"],
|
||||||
"Coefficient":[1],
|
"Coefficient":[1, -51],
|
||||||
|
"Multiplier":1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"NO_WLC",
|
||||||
|
"Type":"UNKNOWN",
|
||||||
|
"Hidden":true,
|
||||||
|
"VirtualSensor":true,
|
||||||
|
"Formula":"COUNT_THRESHOLD",
|
||||||
|
"Combination":["WLC_CHECK"],
|
||||||
|
"Coefficient":[-2],
|
||||||
"Multiplier":1
|
"Multiplier":1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -755,8 +765,9 @@
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
|
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
|
||||||
"Formula":"WEIGHTED_AVG",
|
"Formula":"WEIGHTED_AVG",
|
||||||
"Combination":["VIRTUAL-SKIN-CHARGE", "IS_WLC"],
|
"Combination":["VIRTUAL-SKIN-CHARGE"],
|
||||||
"Coefficient":[1.0, -1000000],
|
"Coefficient":["NO_WLC"],
|
||||||
|
"CoefficientType": ["SENSOR"],
|
||||||
"HotThreshold":["NaN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0],
|
"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],
|
"HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9],
|
||||||
"Multiplier":0.001,
|
"Multiplier":0.001,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue