From 0b07b217f9dade77bc721de1f8312f8d79e34dfd Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Fri, 13 May 2022 15:26:53 +0800 Subject: [PATCH] thermal: correct the sensor settings in thermal config Bug: 222577017 Bug: 228789757 Test: emul_temp and confirm the thermal log Change-Id: I772dc36d0667e0f5c8b6473f9e3f158c36388039 --- thermal_info_config_cheetah.json | 8 ++++---- thermal_info_config_panther.json | 11 ++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/thermal_info_config_cheetah.json b/thermal_info_config_cheetah.json index 2d812f9..ad42911 100644 --- a/thermal_info_config_cheetah.json +++ b/thermal_info_config_cheetah.json @@ -39,15 +39,15 @@ "Type":"UNKNOWN", "HotThreshold":["NAN", 35.0, "NAN", "NAN", "NAN", "NAN", "NAN"], "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp", - "Multiplier":0.001 + "Multiplier":0.001, + "PollingDelay":60000, + "PassiveDelay":7000 }, { "Name":"usb_pwr_therm2", "Type":"UNKNOWN", "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp", - "Multiplier":0.001, - "PollingDelay":60000, - "PassiveDelay":7000 + "Multiplier":0.001 }, { "Name":"disp_therm", diff --git a/thermal_info_config_panther.json b/thermal_info_config_panther.json index 57347dd..4719c03 100644 --- a/thermal_info_config_panther.json +++ b/thermal_info_config_panther.json @@ -29,15 +29,15 @@ "Type":"UNKNOWN", "HotThreshold":["NAN", 35.0, "NAN", "NAN", "NAN", "NAN", "NAN"], "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp", - "Multiplier":0.001 + "Multiplier":0.001, + "PollingDelay":60000, + "PassiveDelay":7000 }, { "Name":"usb_pwr_therm2", "Type":"UNKNOWN", "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp", - "Multiplier":0.001, - "PollingDelay":60000, - "PassiveDelay":7000 + "Multiplier":0.001 }, { "Name":"disp_therm", @@ -107,7 +107,8 @@ "Formula":"WEIGHTED_AVG", "Combination":["qi_therm", "quiet_therm"], "Coefficient":[0.3, 0.7], - "Offset":-1400 + "Offset":-1400, + "Multiplier":0.001 }, { "Name":"VIRTUAL-QI-DISP",