From 8f47b098aad470b16a5cb0a2b31eda46047f7171 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Wed, 14 Sep 2022 17:54:18 +0800 Subject: [PATCH] thermal: add cellular-emergency policy Bug: 244114302 Test: emul_temp and check thermal event log Change-Id: I66a8503673cad943e7bd8fc86d88cb84f71b5022 --- thermal_info_config_felix.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/thermal_info_config_felix.json b/thermal_info_config_felix.json index 67db4c7..347463a 100644 --- a/thermal_info_config_felix.json +++ b/thermal_info_config_felix.json @@ -182,6 +182,21 @@ } ] }, + { + "Name":"cellular-emergency", + "Type":"POWER_AMPLIFIER", + "VirtualSensor":true, + "TriggerSensor":"skin_therm", + "Formula":"MAXIMUM", + "Combination":["VIRTUAL-SKIN-UNFOLD", "VIRTUAL-SKIN-FOLD"], + "Coefficient":[1.0, 1.0], + "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 54.0, "NAN"], + "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0], + "Multiplier":0.001, + "PollingDelay":60000, + "PassiveDelay":7000, + "SendCallback":true + }, { "Name":"VIRTUAL-SKIN-CPU-GPU", "Type":"UNKNOWN",