thermal: update VSKIN-CHARGE v2

This version is based on the CHARGING HOTSPOT in following cases

- Idle charging
- Charging + workload (Modem RFFE / WiFi / CPU / Display )
- Non charging case (correlate charging hotspot)

Bug: 362394314
Test: Build and Boot to home
Flag: EXEMPT config update
Change-Id: I5594cfaefa70b633a2344e9b3460007055f2db2f
Signed-off-by: Peter (YM) <peterym@google.com>
This commit is contained in:
Peter (YM) 2024-09-09 07:47:55 +00:00
parent c0f4723b1f
commit 4605069564
2 changed files with 34 additions and 12 deletions

View file

@ -83,20 +83,31 @@
"Hidden": true,
"VirtualSensor": true,
"Formula": "WEIGHTED_AVG",
"Combination": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "battery", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
"Coefficient": [0, 0, -0.155, 0, 0, 0.503, 0, 0.559, 0],
"Offset": 2614,
"Combination": ["rfpa_therm", "quiet_therm", "charging_therm", "usb_pwr_therm", "btmspkr_therm", "disp_therm", "north_therm", "soc_therm"],
"Coefficient": [0.094, 0.14, 0.162, 0.236, 0.282, 0.06, 0.115, 0.015],
"Offset": -4114.0,
"Multiplier": 0.001
},
{
"Name": "VIRTUAL-SKIN-CHARGE-SUB-1",
"Type": "UNKNOWN",
"Hidden": true,
"VirtualSensor": true,
"Formula": "WEIGHTED_AVG",
"Combination": ["rfpa_therm", "quiet_therm", "charging_therm", "usb_pwr_therm", "btmspkr_therm", "disp_therm", "north_therm", "soc_therm"],
"Coefficient": [0.106, 0.162, 0.169, 0.24, 0.086, 0.012, 0.189, 0.036],
"Offset": -971.0,
"Multiplier": 0.001
},
{
"Name":"VIRTUAL-SKIN-CHARGE",
"Type":"UNKNOWN",
"Version":"1.0",
"Version":"2.0",
"VirtualSensor":true,
"TriggerSensor":"charging_therm",
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-SKIN-CHARGE-SUB-0"],
"Coefficient":[1.0],
"Combination":["VIRTUAL-SKIN-CHARGE-SUB-0", "VIRTUAL-SKIN-CHARGE-SUB-1"],
"Coefficient":[1.0, 1.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],
"Multiplier":0.001,

View file

@ -746,20 +746,31 @@
"Hidden": true,
"VirtualSensor": true,
"Formula": "WEIGHTED_AVG",
"Combination": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "battery", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
"Coefficient": [0, 0, -0.155, 0, 0, 0.503, 0, 0.559, 0],
"Offset": 2614,
"Combination": ["rfpa_therm", "quiet_therm", "charging_therm", "usb_pwr_therm", "btmspkr_therm", "disp_therm", "north_therm", "soc_therm"],
"Coefficient": [0.094, 0.14, 0.162, 0.236, 0.282, 0.06, 0.115, 0.015],
"Offset": -4114.0,
"Multiplier": 0.001
},
{
"Name": "VIRTUAL-SKIN-CHARGE-SUB-1",
"Type": "UNKNOWN",
"Hidden": true,
"VirtualSensor": true,
"Formula": "WEIGHTED_AVG",
"Combination": ["rfpa_therm", "quiet_therm", "charging_therm", "usb_pwr_therm", "btmspkr_therm", "disp_therm", "north_therm", "soc_therm"],
"Coefficient": [0.106, 0.162, 0.169, 0.24, 0.086, 0.012, 0.189, 0.036],
"Offset": -971.0,
"Multiplier": 0.001
},
{
"Name":"VIRTUAL-SKIN-CHARGE",
"Type":"UNKNOWN",
"Version":"1.0",
"Version":"2.0",
"VirtualSensor":true,
"TriggerSensor":"charging_therm",
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-SKIN-CHARGE-SUB-0"],
"Coefficient":[1.0],
"Combination":["VIRTUAL-SKIN-CHARGE-SUB-0", "VIRTUAL-SKIN-CHARGE-SUB-1"],
"Coefficient":[1.0, 1.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],
"Multiplier":0.001,