From 259d71f4d3ae2642555aac647ed8850f8f41eb48 Mon Sep 17 00:00:00 2001 From: sashwinbalaji Date: Thu, 22 Feb 2024 08:28:57 +0800 Subject: [PATCH] thermal: Update hotThresholds Update emergency and shutdown threshold values to align with previous generation foldable device. Bug: 303547512 Bug: 322147413 Test: Build and verify lshal and use emul_temp to trigger shutdown Change-Id: I3229de36dafcff7fdb29a6f1dd014bd49324c285 --- thermal/thermal_info_config_charge_comet.json | 4 ++-- thermal/thermal_info_config_comet.json | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/thermal/thermal_info_config_charge_comet.json b/thermal/thermal_info_config_charge_comet.json index 1fb655d..ec48317 100644 --- a/thermal/thermal_info_config_charge_comet.json +++ b/thermal/thermal_info_config_charge_comet.json @@ -107,8 +107,8 @@ "Combination": ["VIRTUAL-SKIN-CHARGE-OPEN", "VIRTUAL-SKIN-CHARGE-CLOSE"], "Coefficient": ["OPEN_WEIGHT", "CLOSE_WEIGHT"], "CoefficientType": ["SENSOR", "SENSOR"], - "HotThreshold": ["NaN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0], - "HotHysteresis": [0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9], + "HotThreshold": ["NaN", 34.0, 38.0, 41.0, 45.0, 46.5, 57.0], + "HotHysteresis": [0.0, 1.9, 3.9, 2.9, 3.9, 1.4, 1.9], "Multiplier": 0.001, "PollingDelay": 300000, "PassiveDelay": 7000, diff --git a/thermal/thermal_info_config_comet.json b/thermal/thermal_info_config_comet.json index 6ce0082..3c81577 100644 --- a/thermal/thermal_info_config_comet.json +++ b/thermal/thermal_info_config_comet.json @@ -142,7 +142,7 @@ "Combination": ["VIRTUAL-SKIN-OPEN", "VIRTUAL-SKIN-CLOSE"], "Coefficient": ["OPEN_WEIGHT", "CLOSE_WEIGHT"], "CoefficientType": ["SENSOR", "SENSOR"], - "HotThreshold": ["NAN", 39.0, 43.0, 45.0, 46.5, 100.0, 140.0], + "HotThreshold": ["NAN", 39.0, 43.0, 45.0, 46.5, 53.0, 57.0], "HotHysteresis": [0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9], "Multiplier": 0.001, "PollingDelay": 300000, @@ -168,7 +168,7 @@ "Formula": "MAXIMUM", "Combination": ["VIRTUAL-SKIN"], "Coefficient": [1.0], - "HotThreshold": ["NAN", 37.0, 43.0, 45.0, 46.5, 52.0, 140.0], + "HotThreshold": ["NAN", 37.0, 43.0, 45.0, 46.5, 53.0, 57.0], "HotHysteresis": [0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9], "Multiplier": 0.001, "SendPowerHint": true, @@ -327,7 +327,7 @@ "Formula": "MAXIMUM", "Combination": ["VIRTUAL-SKIN"], "Coefficient": [1.0], - "HotThreshold": ["NAN", 41.0, 43.0, 52.0, "NAN", "NAN", "NAN"], + "HotThreshold": ["NAN", 41.0, 43.0, 53.0, "NAN", "NAN", "NAN"], "HotHysteresis": [0.0, 0.0, 1.9, 1.9, 0.0, 0.0, 0.0], "Multiplier": 0.001, "PollingDelay": 300000, @@ -430,7 +430,7 @@ "Formula": "MAXIMUM", "Combination": ["VIRTUAL-SKIN"], "Coefficient": [1.0], - "HotThreshold": ["NAN", 37.0, 43.0, 45.0, 46.5, 52.0, 140.0], + "HotThreshold": ["NAN", 37.0, 43.0, 45.0, 46.5, 53.0, 57.0], "HotHysteresis": [0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9], "Multiplier": 0.001, "PollingDelay": 300000, @@ -494,7 +494,7 @@ "Formula": "MAXIMUM", "Combination": ["VIRTUAL-SKIN"], "Coefficient": [1.0], - "HotThreshold": ["NAN", 43.0, 45.0, 46.5, 52.0, "NAN", "NAN"], + "HotThreshold": ["NAN", 43.0, 45.0, 46.5, 53.0, "NAN", "NAN"], "HotHysteresis": [0.0, 1.9, 1.9, 1.4, 1.9, 0.0, 0.0], "Multiplier": 0.001, "PollingDelay": 300000, @@ -526,7 +526,7 @@ "Formula": "MAXIMUM", "Combination": ["VIRTUAL-SKIN"], "Coefficient": [1.0], - "HotThreshold": ["NAN", "NAN", "NAN", "NAN", "NAN", 138.0, "NAN"], + "HotThreshold": ["NAN", "NAN", "NAN", "NAN", "NAN", 55.0, "NAN"], "HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0], "Multiplier": 0.001, "PollingDelay": 300000, @@ -542,8 +542,8 @@ "Formula": "MAXIMUM", "Combination": ["VIRTUAL-SKIN"], "Coefficient": [1.0], - "HotThreshold": ["NAN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0], - "HotHysteresis": [0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9], + "HotThreshold": ["NAN", 34.0, 38.0, 41.0, 45.0, 46.5, 57.0], + "HotHysteresis": [0.0, 1.9, 3.9, 2.9, 3.9, 1.4, 1.9], "Multiplier": 0.001, "PollingDelay": 300000, "PassiveDelay": 7000,