From bb7c7b537172f70bb3e965651aec1bb211e14d48 Mon Sep 17 00:00:00 2001 From: Sayanna Chandula Date: Fri, 10 May 2024 14:16:20 -0700 Subject: [PATCH] thermal: virtualtemp: enable step ratio for vt model Enabling step ration for vt model would dampen the vt which seems to be very sensitive to some of the thermistor changes Bug: 338284524 Test: Build and boot on device. Monitor Virtual Temperature Change-Id: Ia45f683e3bef9dc1becf74c683c408ffdecf6e48 Signed-off-by: Sayanna Chandula --- thermal/thermal_info_config_caiman.json | 3 ++- thermal/thermal_info_config_komodo.json | 3 ++- thermal/thermal_info_config_tokay.json | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/thermal/thermal_info_config_caiman.json b/thermal/thermal_info_config_caiman.json index 9935bac3..3bdba361 100644 --- a/thermal/thermal_info_config_caiman.json +++ b/thermal/thermal_info_config_caiman.json @@ -306,7 +306,8 @@ "Combination": ["VIRTUAL-SKIN-LEGACY", "VIRTUAL-SKIN-MODEL-CLAMPED"], "Coefficient": ["VT_LEGACY_WEIGHT", "VT_MODEL_WEIGHT"], "CoefficientType": ["SENSOR", "SENSOR"], - "Multiplier": 1 + "Multiplier": 1, + "StepRatio": 0.4 }, { "Name": "VIRTUAL-SKIN-LSTM-MODEL", diff --git a/thermal/thermal_info_config_komodo.json b/thermal/thermal_info_config_komodo.json index 50dec2aa..794986ac 100644 --- a/thermal/thermal_info_config_komodo.json +++ b/thermal/thermal_info_config_komodo.json @@ -296,7 +296,8 @@ "Combination": ["VIRTUAL-SKIN-LEGACY", "VIRTUAL-SKIN-MODEL-CLAMPED"], "Coefficient": ["VT_LEGACY_WEIGHT", "VT_MODEL_WEIGHT"], "CoefficientType": ["SENSOR", "SENSOR"], - "Multiplier": 1 + "Multiplier": 1, + "StepRatio": 0.4 }, { "Name": "VIRTUAL-SKIN-LSTM-MODEL", diff --git a/thermal/thermal_info_config_tokay.json b/thermal/thermal_info_config_tokay.json index 2bc4a373..428f1a55 100644 --- a/thermal/thermal_info_config_tokay.json +++ b/thermal/thermal_info_config_tokay.json @@ -285,7 +285,8 @@ "Combination": ["VIRTUAL-SKIN-LEGACY", "VIRTUAL-SKIN-MODEL-CLAMPED"], "Coefficient": ["VT_LEGACY_WEIGHT", "VT_MODEL_WEIGHT"], "CoefficientType": ["SENSOR", "SENSOR"], - "Multiplier": 1 + "Multiplier": 1, + "StepRatio": 0.4 }, { "Name": "VIRTUAL-SKIN-LSTM-MODEL",