thermal: Update VIRTUAL-BACK-CHARGER Sensor

- Add triggerSensor
- Increase PassiveDelay

Bug: 254020998
Test: tested locally using emul_temp
Change-Id: I349f85a60f82c97e27cb031c0cc3be30ae8f8981
This commit is contained in:
sashwinbalaji 2022-12-14 15:27:01 +08:00
parent 28d3ef8f26
commit e8a062b1fb
2 changed files with 8 additions and 0 deletions

View file

@ -21,6 +21,7 @@
{
"Name":"charger_skin_therm",
"Type":"UNKNOWN",
"HotThreshold":["NAN", "39.0", "NAN", "NAN", "NAN", "NAN", "NAN"],
"TempPath":"/dev/thermal/tz-by-name/charger_skin_therm/tz_temp",
"Multiplier":0.001
},
@ -47,6 +48,7 @@
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":"charger_skin_therm",
"Formula":"WEIGHTED_AVG",
"Combination":["neutral_therm", "quiet_therm", "charger_skin_therm", "disp_therm"],
"Coefficient":["-0.148", "0.666", "0.256", "-0.079"],
@ -54,6 +56,8 @@
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
"Offset":7137,
"Multiplier":0.001,
"PollingDelay":300000,
"PassiveDelay":7000,
"BindedCdevInfo": [
{
"CdevRequest": "fcc",

View file

@ -16,6 +16,7 @@
{
"Name":"charger_skin_therm",
"Type":"UNKNOWN",
"HotThreshold":["NAN", "39.0", "NAN", "NAN", "NAN", "NAN", "NAN"],
"TempPath":"/dev/thermal/tz-by-name/charger_skin_therm/tz_temp",
"Multiplier":0.001
},
@ -80,6 +81,7 @@
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":"charger_skin_therm",
"Formula":"WEIGHTED_AVG",
"Combination":["neutral_therm", "quiet_therm", "charger_skin_therm", "disp_therm"],
"Coefficient":["-0.148", "0.666", "0.256", "-0.079"],
@ -87,6 +89,8 @@
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
"Offset":7137,
"Multiplier":0.001,
"PollingDelay":300000,
"PassiveDelay":7000,
"BindedCdevInfo": [
{
"CdevRequest": "fcc",