Add missing thermal zone sensors and VIRTUAL-SKIN enable thermalHal Bug: 235298256 Test: used local build to verify change in VIRTUAL-SKIN Change-Id: Iaf6fab5fb14ef85c8a399d6fe1b5d90d034649f6
176 lines
5.8 KiB
JSON
176 lines
5.8 KiB
JSON
{
|
|
"Sensors":[
|
|
{
|
|
"Name":"neutral_therm",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"quiet_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", "35.0", "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"charger_skin_therm",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/charger_skin_therm/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"disp_therm",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/disp_therm/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"battery",
|
|
"Type":"BATTERY",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"usb_pwr_therm",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"usb_pwr_therm2",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-FRONT-SOC",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["neutral_therm", "quiet_therm", "charger_skin_therm", "disp_therm"],
|
|
"Coefficient":["-0.74", "1.42", "0.06", "0.12"],
|
|
"Offset":60,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-FRONT-BL",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["neutral_therm", "quiet_therm", "charger_skin_therm", "disp_therm"],
|
|
"Coefficient":["-0.01", "0.01", "-0.02", "1.00"],
|
|
"Offset":1140,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-BACK-SOC",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["neutral_therm", "quiet_therm", "charger_skin_therm", "disp_therm"],
|
|
"Coefficient":["-0.54", "1.18", "0.20", "0.13"],
|
|
"Offset":-2210,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-BACK-CHARGER",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["neutral_therm", "quiet_therm", "charger_skin_therm", "disp_therm"],
|
|
"Coefficient":["-0.68", "1.45", "0.07", "0.16"],
|
|
"Offset":-3440,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN",
|
|
"Type":"SKIN",
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":"quiet_therm",
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-FRONT-SOC", "VIRTUAL-FRONT-BL", "VIRTUAL-BACK-SOC", "VIRTUAL-BACK-CHARGER"],
|
|
"Coefficient":["1.0", "1.0", "1.0", "1.0"],
|
|
"HotThreshold":["NAN", "39.0", "43.0", "45.0", "47.0", "51.0", "140.0"],
|
|
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
|
|
"Multiplier":0.001,
|
|
"SendPowerHint":true,
|
|
"Monitor":true,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"cellular-emergency",
|
|
"Type":"POWER_AMPLIFIER",
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":"quiet_therm",
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-FRONT-SOC", "VIRTUAL-FRONT-BL", "VIRTUAL-BACK-SOC", "VIRTUAL-BACK-CHARGER"],
|
|
"Coefficient":["1.0", "1.0", "1.0", "1.0"],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "138.0", "NAN"],
|
|
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0],
|
|
"Multiplier":0.001,
|
|
"Monitor":true,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"LITTLE",
|
|
"Type":"CPU",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"MID",
|
|
"Type":"CPU",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"BIG",
|
|
"Type":"CPU",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"G3D",
|
|
"Type":"GPU",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"TPU",
|
|
"Type":"NPU",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"AUR",
|
|
"Type":"NPU",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"ISP",
|
|
"Type":"NPU",
|
|
"Multiplier":0.001
|
|
}
|
|
],
|
|
"CoolingDevices":[
|
|
{
|
|
"Name":"thermal-cpufreq-0",
|
|
"Type":"CPU",
|
|
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote",
|
|
"State2Power":["1100", "1050", "1000", "950", "900", "850", "800", "750", "700", "650", "600"]
|
|
},
|
|
{
|
|
"Name":"thermal-cpufreq-1",
|
|
"Type":"CPU",
|
|
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote",
|
|
"State2Power":["1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"]
|
|
},
|
|
{
|
|
"Name":"thermal-cpufreq-2",
|
|
"Type":"CPU",
|
|
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote",
|
|
"State2Power":["1450", "1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"]
|
|
}
|
|
]
|
|
}
|