From 1fe9c52bcaa89f4dd2cb1683d949a366d9d5846f Mon Sep 17 00:00:00 2001 From: sashwinbalaji Date: Thu, 16 Feb 2023 16:33:11 +0800 Subject: [PATCH] thermal: Update VSkin equation For better VSkin/Tskin correlation update the coefficients and offset Bug: 267575487 Test: Local build and verify lshal Change-Id: I401b37a8cba095d7f1452a0af0216b336df1e169 --- thermal_info_config_charge_tangorpro.json | 4 ++-- thermal_info_config_tangorpro.json | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/thermal_info_config_charge_tangorpro.json b/thermal_info_config_charge_tangorpro.json index 35d4cb2..f167181 100644 --- a/thermal_info_config_charge_tangorpro.json +++ b/thermal_info_config_charge_tangorpro.json @@ -56,10 +56,10 @@ "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"], + "Coefficient":["-0.32", "0.85", "0.26", "0.08"], "HotThreshold":["NAN", "39.0", "43.0", "45.0", "47.0", "51.0", "55.0"], "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9], - "Offset":7137, + "Offset":2040, "Multiplier":0.001, "PollingDelay":300000, "PassiveDelay":7000, diff --git a/thermal_info_config_tangorpro.json b/thermal_info_config_tangorpro.json index 9531f46..a2655eb 100644 --- a/thermal_info_config_tangorpro.json +++ b/thermal_info_config_tangorpro.json @@ -60,8 +60,8 @@ "VirtualSensor":true, "Formula":"WEIGHTED_AVG", "Combination":["neutral_therm", "quiet_therm", "charger_skin_therm", "disp_therm"], - "Coefficient":["-0.484", "1.081", "0.093", "-0.003"], - "Offset":6435, + "Coefficient":["-0.50", "1.13", "0.11", "0.12"], + "Offset":1850, "Multiplier":0.001 }, { @@ -71,8 +71,8 @@ "VirtualSensor":true, "Formula":"WEIGHTED_AVG", "Combination":["neutral_therm", "quiet_therm", "charger_skin_therm", "disp_therm"], - "Coefficient":["0.132", "-0.195", "0.006", "0.975"], - "Offset":2769, + "Coefficient":["0.14", "-0.26", "0.01", "1.18"], + "Offset":-1570, "Multiplier":0.001 }, { @@ -82,8 +82,8 @@ "VirtualSensor":true, "Formula":"WEIGHTED_AVG", "Combination":["neutral_therm", "quiet_therm", "charger_skin_therm", "disp_therm"], - "Coefficient":["-0.120", "0.785", "0.153", "-0.079"], - "Offset":5971, + "Coefficient":["-0.29", "1.03", "0.11", "0.05"], + "Offset":1860, "Multiplier":0.001 }, { @@ -94,10 +94,10 @@ "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"], + "Coefficient":["-0.32", "0.85", "0.26", "0.08"], "HotThreshold":["NAN", "39.0", "43.0", "45.0", "47.0", "51.0", "55.0"], "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9], - "Offset":7137, + "Offset":2040, "Multiplier":0.001, "PollingDelay":300000, "PassiveDelay":7000,