thermal: Add INNER-DISPLAY-DIFF virtual sensor.
Add LEFT-INNER-DISPLAY, RIGHT-INNER-DISPLAY virtual sensors. Add INNER-DISPLAY-DIFF (diff of right - left) virtual sensor. The INNER-DISPLAY-DIFF sensor will be used for inner display thermal compensation. Bug: 309716793 Test: Push config to device and verify thermal log and lshal Change-Id: I4f7fbb2006b84dd6ab945d0de94f5d5ca2ffcd49
This commit is contained in:
parent
b7f3a3c08b
commit
fc365a9d48
2 changed files with 62 additions and 0 deletions
|
@ -305,6 +305,37 @@
|
|||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000
|
||||
},
|
||||
{
|
||||
"Name": "LEFT-INNER-DISPLAY",
|
||||
"Type": "UNKNOWN",
|
||||
"Hidden": true,
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"Combination": ["usb_conn_therm"],
|
||||
"Coefficient": [0.561],
|
||||
"Offset": 10729,
|
||||
"Multiplier": 0.001
|
||||
},
|
||||
{
|
||||
"Name": "RIGHT-INNER-DISPLAY",
|
||||
"Type": "UNKNOWN",
|
||||
"Hidden": true,
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"Combination": ["soc_therm"],
|
||||
"Coefficient": [0.799],
|
||||
"Offset": 1620,
|
||||
"Multiplier": 0.001
|
||||
},
|
||||
{
|
||||
"Name": "INNER-DISPLAY-DIFF",
|
||||
"Type": "UNKNOWN",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"Combination": ["RIGHT-INNER-DISPLAY", "LEFT-INNER-DISPLAY"],
|
||||
"Coefficient": [1.0, -1.0],
|
||||
"Multiplier": 0.001
|
||||
},
|
||||
{
|
||||
"Name": "LITTLE",
|
||||
"Type": "CPU",
|
||||
|
|
|
@ -703,6 +703,37 @@
|
|||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000
|
||||
},
|
||||
{
|
||||
"Name": "LEFT-INNER-DISPLAY",
|
||||
"Type": "UNKNOWN",
|
||||
"Hidden": true,
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"Combination": ["usb_conn_therm"],
|
||||
"Coefficient": [0.561],
|
||||
"Offset": 10729,
|
||||
"Multiplier": 0.001
|
||||
},
|
||||
{
|
||||
"Name": "RIGHT-INNER-DISPLAY",
|
||||
"Type": "UNKNOWN",
|
||||
"Hidden": true,
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"Combination": ["soc_therm"],
|
||||
"Coefficient": [0.799],
|
||||
"Offset": 1620,
|
||||
"Multiplier": 0.001
|
||||
},
|
||||
{
|
||||
"Name": "INNER-DISPLAY-DIFF",
|
||||
"Type": "UNKNOWN",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"Combination": ["RIGHT-INNER-DISPLAY", "LEFT-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