thermal: Update trigger sensors

- Add disp_therm, neutral_therm as VSkin trigger sensors.
- Remove quiet_therm as trigger sensor.

Bug: 261149274
Test: Update local config and use emul_temp
Change-Id: I904af100ad5e684a24cfdeb3f600cf28ed2ccd78
This commit is contained in:
sashwinbalaji 2023-01-12 10:47:58 +08:00
parent adfb1a28ed
commit 807c27a95e

View file

@ -3,17 +3,17 @@
{
"Name":"neutral_therm",
"Type":"UNKNOWN",
"HotThreshold":["NAN", "50.0", "NAN", "NAN", "NAN", "NAN", "NAN"],
"TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp",
"Multiplier":0.001
"Multiplier":0.001,
"PollingDelay":60000,
"PassiveDelay":7000
},
{
"Name":"quiet_therm",
"Type":"UNKNOWN",
"HotThreshold":["NAN", "35.0", "NAN", "NAN", "NAN", "NAN", "NAN"],
"TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
"Multiplier":0.001,
"PollingDelay":60000,
"PassiveDelay":7000
"Multiplier":0.001
},
{
"Name":"charger_skin_therm",
@ -27,8 +27,11 @@
{
"Name":"disp_therm",
"Type":"UNKNOWN",
"HotThreshold":["NAN", "37.0", "NAN", "NAN", "NAN", "NAN", "NAN"],
"TempPath":"/dev/thermal/tz-by-name/disp_therm/tz_temp",
"Multiplier":0.001
"Multiplier":0.001,
"PollingDelay":60000,
"PassiveDelay":7000
},
{
"Name":"battery",
@ -106,7 +109,7 @@
"Name":"VIRTUAL-SKIN",
"Type":"SKIN",
"VirtualSensor":true,
"TriggerSensor":"quiet_therm",
"TriggerSensor":["disp_therm", "neutral_therm"],
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-FRONT-SOC", "VIRTUAL-FRONT-BL", "VIRTUAL-BACK-SOC", "VIRTUAL-BACK-CHARGER"],
"Coefficient":["1.0", "1.0", "1.0", "1.0"],
@ -122,7 +125,7 @@
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":"quiet_therm",
"TriggerSensor":["disp_therm", "neutral_therm"],
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-FRONT-SOC", "VIRTUAL-FRONT-BL", "VIRTUAL-BACK-SOC", "VIRTUAL-BACK-CHARGER"],
"Coefficient":["1.0", "1.0", "1.0", "1.0"],
@ -138,7 +141,7 @@
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":"quiet_therm",
"TriggerSensor":["disp_therm", "neutral_therm"],
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-FRONT-SOC", "VIRTUAL-FRONT-BL", "VIRTUAL-BACK-SOC", "VIRTUAL-BACK-CHARGER"],
"Coefficient":["1.0", "1.0", "1.0", "1.0"],