thermal: add cellular-emergency policy

Bug: 244114302
Test: emul_temp and check thermal event log
Change-Id: I66a8503673cad943e7bd8fc86d88cb84f71b5022
This commit is contained in:
TeYuan Wang 2022-09-14 17:54:18 +08:00
parent 27929b9fbe
commit 8f47b098aa

View file

@ -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", "Name":"VIRTUAL-SKIN-CPU-GPU",
"Type":"UNKNOWN", "Type":"UNKNOWN",