From 94157b77ecd2b2795cb9d41e90736ebcf6b5d462 Mon Sep 17 00:00:00 2001 From: sashwinbalaji Date: Thu, 15 Dec 2022 12:21:31 +0800 Subject: [PATCH] Thermal: Update passiveDelay and pollingDealy of trigger sensors Align the delays in accordance with older devices Bug: 254263444 Test: build and emul_temp Change-Id: I6d7bfaef87c9f4a3d81644425b6687bacb3ef0f4 --- thermal_info_config_charge_tangorpro.json | 4 +++- thermal_info_config_tangorpro.json | 8 ++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/thermal_info_config_charge_tangorpro.json b/thermal_info_config_charge_tangorpro.json index f5e51ed..8710c78 100644 --- a/thermal_info_config_charge_tangorpro.json +++ b/thermal_info_config_charge_tangorpro.json @@ -23,7 +23,9 @@ "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 + "Multiplier":0.001, + "PollingDelay":60000, + "PassiveDelay":7000 }, { "Name":"disp_therm", diff --git a/thermal_info_config_tangorpro.json b/thermal_info_config_tangorpro.json index 1862b6f..811d19b 100644 --- a/thermal_info_config_tangorpro.json +++ b/thermal_info_config_tangorpro.json @@ -11,14 +11,18 @@ "Type":"UNKNOWN", "HotThreshold":["NAN", "35.0", "NAN", "NAN", "NAN", "NAN", "NAN"], "TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp", - "Multiplier":0.001 + "Multiplier":0.001, + "PollingDelay":60000, + "PassiveDelay":7000 }, { "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 + "Multiplier":0.001, + "PollingDelay":60000, + "PassiveDelay":7000 }, { "Name":"disp_therm",