From bf198b780ebf9361410311a9de3d001398bb673b Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Thu, 24 Jun 2021 23:16:13 +0800 Subject: [PATCH] thermal: optimize trigger sensor settings 1. Reduce the polling time to 60s to reduce the lantancy when ThermalHAL miss the trigger sensor's notification. 2. Adjust the trigger sensor's threshold to lower temperature. Bug: 191971470 Bug: 191795038 Test: adb shell lshal debug android.hardware.thermal@2.0::IThermal/default Change-Id: I2559944dfdef684ee93867a15dea257ee5f435b9 --- thermal_info_config_oriole.json | 2 +- thermal_info_config_raven.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/thermal_info_config_oriole.json b/thermal_info_config_oriole.json index cd3449b..adac93d 100644 --- a/thermal_info_config_oriole.json +++ b/thermal_info_config_oriole.json @@ -134,7 +134,7 @@ ], "VrThreshold":"NAN", "Multiplier":0.001, - "PollingDelay":300000, + "PollingDelay":60000, "PassiveDelay":7000 }, { diff --git a/thermal_info_config_raven.json b/thermal_info_config_raven.json index 054a42b..bbeb7a5 100644 --- a/thermal_info_config_raven.json +++ b/thermal_info_config_raven.json @@ -95,7 +95,7 @@ "Type":"UNKNOWN", "HotThreshold":[ "NAN", - "34.2", + "32.2", "NAN", "NAN", "NAN", @@ -104,7 +104,7 @@ ], "VrThreshold":"NAN", "Multiplier":0.001, - "PollingDelay":300000, + "PollingDelay":60000, "PassiveDelay":7000 }, { @@ -273,7 +273,7 @@ 1.9, 1.9, 1.9, - 1.9, + 1.4, 1.9, 1.9 ],