thermal: update thermal table
1. Update charging throttling policy according to the new kernel change 2. Adjust the virtual sensor formula for 5G cases. Bug: 182970733 Bug: 183559513 Bug: 190449889 Bug: 190450703 Test: Verified by emul temp adb shell lshal debug android.hardware.thermal@2.0::IThermal/default Change-Id: Ieb859c93cdfa7486ad199af21b57db0732c24006
This commit is contained in:
parent
9dd59a9dda
commit
be012113bb
2 changed files with 35 additions and 59 deletions
|
@ -341,6 +341,10 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "dc_icl",
|
"CdevRequest": "dc_icl",
|
||||||
|
"LimitInfo": [0, 1, 2, 3, 3, 3, 3]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"CdevRequest": "wlc_fcc",
|
||||||
"LimitInfo": [0, 1, 2, 4, 4, 4, 4]
|
"LimitInfo": [0, 1, 2, 4, 4, 4, 4]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -543,26 +547,6 @@
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-cpufreq-2",
|
"CdevRequest": "thermal-cpufreq-2",
|
||||||
"LimitInfo": [0, 0, 0, 7, 7, 10, 10]
|
"LimitInfo": [0, 0, 0, 7, 7, 10, 10]
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-cpufreq-0",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-cpufreq-1",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "fcc",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "dc_icl",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -794,6 +778,10 @@
|
||||||
{
|
{
|
||||||
"Name":"dc_icl",
|
"Name":"dc_icl",
|
||||||
"Type":"BATTERY"
|
"Type":"BATTERY"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"wlc_fcc",
|
||||||
|
"Type":"BATTERY"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,19 +138,19 @@
|
||||||
"Multiplier":0.001
|
"Multiplier":0.001
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name":"VIRTUAL-NEUTRAL-DISP",
|
"Name":"VIRTUAL-NEUTRAL-QI",
|
||||||
"Type":"UNKNOWN",
|
"Type":"UNKNOWN",
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"Formula":"WEIGHTED_AVG",
|
"Formula":"WEIGHTED_AVG",
|
||||||
"Combination":[
|
"Combination":[
|
||||||
"neutral_therm",
|
"neutral_therm",
|
||||||
"disp_therm"
|
"qi_therm"
|
||||||
],
|
],
|
||||||
"Coefficient":[
|
"Coefficient":[
|
||||||
"0.55",
|
"0.6",
|
||||||
"0.45"
|
"0.4"
|
||||||
],
|
],
|
||||||
"Offset":1000,
|
"Offset":-3000,
|
||||||
"HotThreshold":[
|
"HotThreshold":[
|
||||||
"NAN",
|
"NAN",
|
||||||
"NAN",
|
"NAN",
|
||||||
|
@ -216,19 +216,19 @@
|
||||||
"Multiplier":0.001
|
"Multiplier":0.001
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name":"VIRTUAL-QI-BATT",
|
"Name":"VIRTUAL-QI-DISP",
|
||||||
"Type":"UNKNOWN",
|
"Type":"UNKNOWN",
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"Formula":"WEIGHTED_AVG",
|
"Formula":"WEIGHTED_AVG",
|
||||||
"Combination":[
|
"Combination":[
|
||||||
"qi_therm",
|
"qi_therm",
|
||||||
"battery"
|
"disp_therm"
|
||||||
],
|
],
|
||||||
"Coefficient":[
|
"Coefficient":[
|
||||||
"0.5",
|
"0.25",
|
||||||
"0.5"
|
"0.75"
|
||||||
],
|
],
|
||||||
"Offset":-4000,
|
"Offset":1000,
|
||||||
"HotThreshold":[
|
"HotThreshold":[
|
||||||
"NAN",
|
"NAN",
|
||||||
"NAN",
|
"NAN",
|
||||||
|
@ -248,10 +248,10 @@
|
||||||
"TriggerSensor":"quiet_therm",
|
"TriggerSensor":"quiet_therm",
|
||||||
"Formula":"MAXIMUM",
|
"Formula":"MAXIMUM",
|
||||||
"Combination":[
|
"Combination":[
|
||||||
"VIRTUAL-NEUTRAL-DISP",
|
"VIRTUAL-NEUTRAL-QI",
|
||||||
"VIRTUAL-USB2-BATT",
|
"VIRTUAL-USB2-BATT",
|
||||||
"VIRTUAL-GNSS-BATT",
|
"VIRTUAL-GNSS-BATT",
|
||||||
"VIRTUAL-QI-BATT"
|
"VIRTUAL-QI-DISP"
|
||||||
],
|
],
|
||||||
"Coefficient":[
|
"Coefficient":[
|
||||||
"1.0",
|
"1.0",
|
||||||
|
@ -261,12 +261,12 @@
|
||||||
],
|
],
|
||||||
"HotThreshold":[
|
"HotThreshold":[
|
||||||
"NAN",
|
"NAN",
|
||||||
"39.0",
|
"39",
|
||||||
"43.0",
|
"43",
|
||||||
"45.0",
|
"45",
|
||||||
"47.0",
|
"46.5",
|
||||||
"52.0",
|
"52.0",
|
||||||
"56.0"
|
"55.0"
|
||||||
],
|
],
|
||||||
"HotHysteresis":[
|
"HotHysteresis":[
|
||||||
0.0,
|
0.0,
|
||||||
|
@ -341,6 +341,10 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "dc_icl",
|
"CdevRequest": "dc_icl",
|
||||||
|
"LimitInfo": [0, 1, 2, 3, 3, 3, 3]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"CdevRequest": "wlc_fcc",
|
||||||
"LimitInfo": [0, 1, 2, 4, 4, 4, 4]
|
"LimitInfo": [0, 1, 2, 4, 4, 4, 4]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -352,10 +356,10 @@
|
||||||
"TriggerSensor":"quiet_therm",
|
"TriggerSensor":"quiet_therm",
|
||||||
"Formula":"MAXIMUM",
|
"Formula":"MAXIMUM",
|
||||||
"Combination":[
|
"Combination":[
|
||||||
"VIRTUAL-NEUTRAL-DISP",
|
"VIRTUAL-NEUTRAL-QI",
|
||||||
"VIRTUAL-USB2-BATT",
|
"VIRTUAL-USB2-BATT",
|
||||||
"VIRTUAL-GNSS-BATT",
|
"VIRTUAL-GNSS-BATT",
|
||||||
"VIRTUAL-QI-BATT"
|
"VIRTUAL-QI-DISP"
|
||||||
],
|
],
|
||||||
"Coefficient":[
|
"Coefficient":[
|
||||||
"1.0",
|
"1.0",
|
||||||
|
@ -543,26 +547,6 @@
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-cpufreq-2",
|
"CdevRequest": "thermal-cpufreq-2",
|
||||||
"LimitInfo": [0, 0, 0, 7, 7, 10, 10]
|
"LimitInfo": [0, 0, 0, 7, 7, 10, 10]
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-cpufreq-0",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-cpufreq-1",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "fcc",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "dc_icl",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -794,6 +778,10 @@
|
||||||
{
|
{
|
||||||
"Name":"dc_icl",
|
"Name":"dc_icl",
|
||||||
"Type":"BATTERY"
|
"Type":"BATTERY"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"wlc_fcc",
|
||||||
|
"Type":"BATTERY"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue