thermal: add 500mC offset for km4 vt prediction

- Add 500mC offset to address underprediction
- Fix issue with VIRTUAL-SKIN-LEGACY-SHUTDOWN thresholds

Bug: 321108353
Test: Build and boot on device

Change-Id: I778e4949308af484ec8ca7a9dfaf27d13c429209
Signed-off-by: Sayanna Chandula <sayanna@google.com>
This commit is contained in:
Sayanna Chandula 2024-01-25 13:20:47 -08:00
parent d1ed787a37
commit 4e1edbd52d
6 changed files with 10 additions and 8 deletions

View file

@ -191,7 +191,7 @@
"VirtualSensor": true,
"Formula": "COUNT_THRESHOLD",
"Combination": ["VIRTUAL-SKIN-LEGACY"],
"Coefficient": [55.0],
"Coefficient": [55000.0],
"Multiplier": 1.0
},
{

View file

@ -179,7 +179,7 @@
"VirtualSensor": true,
"Formula": "COUNT_THRESHOLD",
"Combination": ["VIRTUAL-SKIN-LEGACY"],
"Coefficient": [55.0],
"Coefficient": [55000.0],
"Multiplier": 1.0
},
{

View file

@ -180,7 +180,7 @@
"VirtualSensor": true,
"Formula": "COUNT_THRESHOLD",
"Combination": ["VIRTUAL-SKIN-LEGACY"],
"Coefficient": [55.0],
"Coefficient": [55000.0],
"Multiplier": 1.0
},
{
@ -192,7 +192,8 @@
"Combination": ["VSYS_PWR_CAMERA", "VSYS_PWR_DISPLAY", "VSYS_PWR_MMWAVE", "VSYS_PWR_MODEM", "VSYS_PWR_RFFE", "VSYS_PWR_WLAN_BT", "battery", "btmspkr_therm", "charging_therm", "disp_therm", "north_therm", "quiet_therm", "rfpa_therm", "soc_therm", "usb_pwr_therm"],
"CombinationType":["ODPM", "ODPM", "ODPM", "ODPM", "ODPM", "ODPM", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR"],
"Coefficient": [1.0],
"Multiplier": 0.001
"Multiplier": 0.001,
"Offset": 500
},
{
"Name": "VIRTUAL-SKIN-MODEL-LEGACY-DIFF",

View file

@ -212,7 +212,7 @@
"VirtualSensor": true,
"Formula": "COUNT_THRESHOLD",
"Combination": ["VIRTUAL-SKIN-LEGACY"],
"Coefficient": [55.0],
"Coefficient": [55000.0],
"Multiplier": 1.0
},
{
@ -224,7 +224,8 @@
"Combination": ["VSYS_PWR_CAMERA", "VSYS_PWR_DISPLAY", "VSYS_PWR_MMWAVE", "VSYS_PWR_MODEM", "VSYS_PWR_RFFE", "VSYS_PWR_WLAN_BT", "battery", "btmspkr_therm", "charging_therm", "disp_therm", "north_therm", "quiet_therm", "rfpa_therm", "soc_therm", "usb_pwr_therm"],
"CombinationType":["ODPM", "ODPM", "ODPM", "ODPM", "ODPM", "ODPM", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR"],
"Coefficient": [1.0],
"Multiplier": 0.001
"Multiplier": 0.001,
"Offset": 500
},
{
"Name": "VIRTUAL-SKIN-MODEL-LEGACY-DIFF",

View file

@ -170,7 +170,7 @@
"VirtualSensor": true,
"Formula": "COUNT_THRESHOLD",
"Combination": ["VIRTUAL-SKIN-LEGACY"],
"Coefficient": [55.0],
"Coefficient": [55000.0],
"Multiplier": 1.0
},
{

View file

@ -158,7 +158,7 @@
"VirtualSensor": true,
"Formula": "COUNT_THRESHOLD",
"Combination": ["VIRTUAL-SKIN-LEGACY"],
"Coefficient": [55.0],
"Coefficient": [55000.0],
"Multiplier": 1.0
},
{