thermal: Adjust CLOSE-SUB1 VSKIN equation

CLOSE-SUB1 will cause 5 degC VSKIN correlation gap for solar loading
case, so adding a check to prevent over prediction

Bug: 280447982
Test: adb shell "echo 50000 > dev/thermal/tz-by-name/outer_disp_therm/emul_temp"
      adb shell "echo 0 > dev/thermal/tz-by-name/outer_disp_therm/emul_temp"
Change-Id: I3679ca4a72aa3585a0a0718013006fff54918893
This commit is contained in:
TeYuan Wang 2023-05-04 16:09:24 -07:00 committed by Kame(TeYuan) Wang
parent b41596e4a7
commit faee7a6ae6
3 changed files with 33 additions and 3 deletions

View file

@ -80,7 +80,7 @@
"Multiplier":1
},
{
"Name":"CLOSE-SUB1",
"Name":"CLOSE-SUB1-RAW",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
@ -90,6 +90,16 @@
"Offset":-670,
"Multiplier":0.001
},
{
"Name":"CLOSE-SUB1",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"MINIMUM",
"Combination":["CLOSE-SUB1-RAW", "IS_CLOSE"],
"Coefficient":[1.0, 49000.0],
"Multiplier":0.001
},
{
"Name":"CLOSE-SUB2",
"Type":"UNKNOWN",

View file

@ -86,7 +86,7 @@
"Multiplier":1
},
{
"Name":"CLOSE-SUB1",
"Name":"CLOSE-SUB1-RAW",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
@ -96,6 +96,16 @@
"Offset":-670,
"Multiplier":0.001
},
{
"Name":"CLOSE-SUB1",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"MINIMUM",
"Combination":["CLOSE-SUB1-RAW", "IS_CLOSE"],
"Coefficient":[1.0, 49000.0],
"Multiplier":0.001
},
{
"Name":"CLOSE-SUB2",
"Type":"UNKNOWN",

View file

@ -86,7 +86,7 @@
"Multiplier":1
},
{
"Name":"CLOSE-SUB1",
"Name":"CLOSE-SUB1-RAW",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
@ -96,6 +96,16 @@
"Offset":-670,
"Multiplier":0.001
},
{
"Name":"CLOSE-SUB1",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"MINIMUM",
"Combination":["CLOSE-SUB1-RAW", "IS_CLOSE"],
"Coefficient":[1.0, 49000.0],
"Multiplier":0.001
},
{
"Name":"CLOSE-SUB2",
"Type":"UNKNOWN",