From ab5065e8a5289e9a5ab4863bf7620d574c9bac4b Mon Sep 17 00:00:00 2001 From: sashwinbalaji Date: Mon, 26 Feb 2024 14:52:47 +0800 Subject: [PATCH] thermal: Add initial VIRTUAL-SKIN-OUTER-DISPLAY To monitor and verify the feature of "sensor name based brightness throttling", add VIRTUAL-SKIN-OUTER-DISPLAY of type DISPLAY. But to ensure no regression, set its equation to be same as VIRTUAL-SKIN and in future once verified we can update the equation. Bug: 326615866 Test: Local build and verify thermal logs Change-Id: I370990837911ab4b733aa9adca624ff1788f9500 --- thermal/thermal_info_config_comet.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/thermal/thermal_info_config_comet.json b/thermal/thermal_info_config_comet.json index 3c81577..7906120 100644 --- a/thermal/thermal_info_config_comet.json +++ b/thermal/thermal_info_config_comet.json @@ -533,6 +533,22 @@ "PassiveDelay": 7000, "SendCallback": true }, + { + "Name": "VIRTUAL-SKIN-OUTER-DISPLAY", + "Type": "DISPLAY", + "Version": "1.0", + "VirtualSensor": true, + "TriggerSensor": "charger_therm", + "Formula": "MAXIMUM", + "Combination": ["VIRTUAL-SKIN"], + "Coefficient": [1.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, + "SendCallback": true, + "PollingDelay": 300000, + "PassiveDelay": 7000 + }, { "Name": "VIRTUAL-SKIN-CHARGE", "Type": "UNKNOWN",