thermal: register sensor for thermal diff between right and left inner display
Bug: 260663676 Test: adb shell dumpsys thermalservice | grep INNER-PANEL-DIFF Change-Id: I0c1528dab395302d3ccdb84022bc1d7bec9bbf5f
This commit is contained in:
parent
a1ec076e3b
commit
e6898a29f3
2 changed files with 62 additions and 0 deletions
|
@ -517,6 +517,37 @@
|
|||
"PollingDelay":300000,
|
||||
"PassiveDelay":7000
|
||||
},
|
||||
{
|
||||
"Name":"LEFT-INNER-DISPLAY",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":["outer_disp_therm"],
|
||||
"Coefficient":[1.56],
|
||||
"Offset":-14540,
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"RIGHT-INNER-DISPLAY",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":["neutral_therm", "quiet_therm", "skin_therm", "usb_pwr_therm", "usb_pwr_therm2", "inner_disp_therm"],
|
||||
"Coefficient":[0.35, -0.2, 0.55, -0.95, 0.35, 0.8],
|
||||
"Offset":3110,
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"INNER-DISPLAY-DIFF",
|
||||
"Type":"UNKNOWN",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":["LEFT-INNER-DISPLAY", "RIGHT-INNER-DISPLAY"],
|
||||
"Coefficient":[1.0, -1.0],
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"LITTLE",
|
||||
"Type":"CPU",
|
||||
|
|
|
@ -517,6 +517,37 @@
|
|||
"PollingDelay":300000,
|
||||
"PassiveDelay":7000
|
||||
},
|
||||
{
|
||||
"Name":"LEFT-INNER-DISPLAY",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":["outer_disp_therm"],
|
||||
"Coefficient":[1.56],
|
||||
"Offset":-14540,
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"RIGHT-INNER-DISPLAY",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":["neutral_therm", "quiet_therm", "skin_therm", "usb_pwr_therm", "usb_pwr_therm2", "inner_disp_therm"],
|
||||
"Coefficient":[0.35, -0.2, 0.55, -0.95, 0.35, 0.8],
|
||||
"Offset":3110,
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"INNER-DISPLAY-DIFF",
|
||||
"Type":"UNKNOWN",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":["LEFT-INNER-DISPLAY", "RIGHT-INNER-DISPLAY"],
|
||||
"Coefficient":[1.0, -1.0],
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"LITTLE",
|
||||
"Type":"CPU",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue