Merge "thermal: Low power shutdown policy bringup" into main
This commit is contained in:
commit
c595dd1078
10 changed files with 367 additions and 0 deletions
|
@ -49,6 +49,11 @@
|
|||
"Name":"battery",
|
||||
"Type":"BATTERY",
|
||||
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 60.0],
|
||||
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.9],
|
||||
"SendCallback": true,
|
||||
"TripPointIgnorable": true,
|
||||
"PollingDelay": 60000,
|
||||
"PassiveDelay": 60000,
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
|
|
|
@ -49,6 +49,11 @@
|
|||
"Name":"battery",
|
||||
"Type":"BATTERY",
|
||||
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 60.0],
|
||||
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.9],
|
||||
"SendCallback": true,
|
||||
"TripPointIgnorable": true,
|
||||
"PollingDelay": 60000,
|
||||
"PassiveDelay": 60000,
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
|
|
85
thermal/thermal_info_config_lpm_caiman.json
Normal file
85
thermal/thermal_info_config_lpm_caiman.json
Normal file
|
@ -0,0 +1,85 @@
|
|||
{
|
||||
"Include": ["thermal_info_config.json"],
|
||||
"Sensors":[
|
||||
{
|
||||
"Name":"SkinShutdownModeHighPower",
|
||||
"Type":"UNKNOWN",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"Combination":["VIRTUAL-SKIN", "PARTIAL_SYSTEM_POWER"],
|
||||
"CombinationType":["SENSOR", "ODPM"],
|
||||
"Coefficient":[55000.0, 1000.0],
|
||||
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0],
|
||||
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9],
|
||||
"Multiplier":1
|
||||
},
|
||||
{
|
||||
"Name":"BatteryShutdownModeHighPower",
|
||||
"Type":"UNKNOWN",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"Combination":["battery", "PARTIAL_SYSTEM_POWER"],
|
||||
"CombinationType":["SENSOR", "ODPM"],
|
||||
"Coefficient":[60000.0, 1000.0],
|
||||
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0],
|
||||
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9],
|
||||
"Multiplier":1
|
||||
},
|
||||
{
|
||||
"Name":"battery",
|
||||
"Type":"BATTERY",
|
||||
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 60.0, 65.0],
|
||||
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 5.0, 1.9],
|
||||
"SeverityReference": "BatteryShutdownModeHighPower",
|
||||
"SendCallback": true,
|
||||
"TripPointIgnorable": true,
|
||||
"PollingDelay": 60000,
|
||||
"PassiveDelay": 60000,
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"ShutdownMode",
|
||||
"Type":"UNKNOWN",
|
||||
"VirtualSensor":true,
|
||||
"TriggerSensor": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":["VIRTUAL-SKIN"],
|
||||
"Coefficient":[1.0],
|
||||
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 55.0, "NAN"],
|
||||
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 4.9, 1.9],
|
||||
"SeverityReference": "battery",
|
||||
"Multiplier":0.001,
|
||||
"SendCallback": true,
|
||||
"SendPowerHint": true,
|
||||
"PollingDelay":300000,
|
||||
"PassiveDelay":7000
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-SKIN",
|
||||
"Type": "SKIN",
|
||||
"Version": "6.1",
|
||||
"VirtualSensor": true,
|
||||
"TriggerSensor": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
|
||||
"Formula": "MAXIMUM",
|
||||
"Combination": ["VIRTUAL-SKIN-MODEL-UPDATED", "VIRTUAL-SKIN-LEGACY"],
|
||||
"Coefficient": [1.0, "VIRTUAL-SKIN-LEGACY-SHUTDOWN"],
|
||||
"CoefficientType":["CONSTANT", "SENSOR"],
|
||||
"HotThreshold": ["NAN", 39.0, 43.0, 45.0, 46.5, 52.0, 65.0],
|
||||
"HotHysteresis": [0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
|
||||
"SeverityReference": "SkinShutdownModeHighPower",
|
||||
"Multiplier": 0.001,
|
||||
"SendCallback": true,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000,
|
||||
"PredictorInfo": {
|
||||
"Sensor": "VIRTUAL-SKIN-LSTM-MODEL"
|
||||
},
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "gxp-cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 0, 6, 6]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
85
thermal/thermal_info_config_lpm_komodo.json
Normal file
85
thermal/thermal_info_config_lpm_komodo.json
Normal file
|
@ -0,0 +1,85 @@
|
|||
{
|
||||
"Include": ["thermal_info_config.json"],
|
||||
"Sensors":[
|
||||
{
|
||||
"Name":"SkinShutdownModeHighPower",
|
||||
"Type":"UNKNOWN",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"Combination":["VIRTUAL-SKIN", "PARTIAL_SYSTEM_POWER"],
|
||||
"CombinationType":["SENSOR", "ODPM"],
|
||||
"Coefficient":[55000.0, 1000.0],
|
||||
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0],
|
||||
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9],
|
||||
"Multiplier":1
|
||||
},
|
||||
{
|
||||
"Name":"BatteryShutdownModeHighPower",
|
||||
"Type":"UNKNOWN",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"Combination":["battery", "PARTIAL_SYSTEM_POWER"],
|
||||
"CombinationType":["SENSOR", "ODPM"],
|
||||
"Coefficient":[60000.0, 1000.0],
|
||||
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0],
|
||||
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9],
|
||||
"Multiplier":1
|
||||
},
|
||||
{
|
||||
"Name":"battery",
|
||||
"Type":"BATTERY",
|
||||
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 60.0, 65.0],
|
||||
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 5.0, 1.9],
|
||||
"SeverityReference": "BatteryShutdownModeHighPower",
|
||||
"SendCallback": true,
|
||||
"TripPointIgnorable": true,
|
||||
"PollingDelay": 60000,
|
||||
"PassiveDelay": 60000,
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"ShutdownMode",
|
||||
"Type":"UNKNOWN",
|
||||
"VirtualSensor":true,
|
||||
"TriggerSensor": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":["VIRTUAL-SKIN"],
|
||||
"Coefficient":[1.0],
|
||||
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 55.0, "NAN"],
|
||||
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 4.9, 1.9],
|
||||
"SeverityReference": "battery",
|
||||
"Multiplier":0.001,
|
||||
"SendCallback": true,
|
||||
"SendPowerHint": true,
|
||||
"PollingDelay":300000,
|
||||
"PassiveDelay":7000
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-SKIN",
|
||||
"Type": "SKIN",
|
||||
"Version": "6.1",
|
||||
"VirtualSensor": true,
|
||||
"TriggerSensor": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
|
||||
"Formula": "MAXIMUM",
|
||||
"Combination": ["VIRTUAL-SKIN-MODEL-UPDATED", "VIRTUAL-SKIN-LEGACY"],
|
||||
"Coefficient": [1.0, "VIRTUAL-SKIN-LEGACY-SHUTDOWN"],
|
||||
"CoefficientType":["CONSTANT", "SENSOR"],
|
||||
"HotThreshold": ["NAN", 39.0, 43.0, 45.0, 46.5, 52.0, 65.0],
|
||||
"HotHysteresis": [0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
|
||||
"SeverityReference": "SkinShutdownModeHighPower",
|
||||
"Multiplier": 0.001,
|
||||
"SendCallback": true,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000,
|
||||
"PredictorInfo": {
|
||||
"Sensor": "VIRTUAL-SKIN-LSTM-MODEL"
|
||||
},
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "gxp-cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 0, 6, 6]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
85
thermal/thermal_info_config_lpm_tokay.json
Normal file
85
thermal/thermal_info_config_lpm_tokay.json
Normal file
|
@ -0,0 +1,85 @@
|
|||
{
|
||||
"Include": ["thermal_info_config.json"],
|
||||
"Sensors":[
|
||||
{
|
||||
"Name":"SkinShutdownModeHighPower",
|
||||
"Type":"UNKNOWN",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"Combination":["VIRTUAL-SKIN", "PARTIAL_SYSTEM_POWER"],
|
||||
"CombinationType":["SENSOR", "ODPM"],
|
||||
"Coefficient":[55000.0, 1000.0],
|
||||
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0],
|
||||
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9],
|
||||
"Multiplier":1
|
||||
},
|
||||
{
|
||||
"Name":"BatteryShutdownModeHighPower",
|
||||
"Type":"UNKNOWN",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"Combination":["battery", "PARTIAL_SYSTEM_POWER"],
|
||||
"CombinationType":["SENSOR", "ODPM"],
|
||||
"Coefficient":[60000.0, 1000.0],
|
||||
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0],
|
||||
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9],
|
||||
"Multiplier":1
|
||||
},
|
||||
{
|
||||
"Name":"battery",
|
||||
"Type":"BATTERY",
|
||||
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 60.0, 65.0],
|
||||
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 5.0, 1.9],
|
||||
"SeverityReference": "BatteryShutdownModeHighPower",
|
||||
"SendCallback": true,
|
||||
"TripPointIgnorable": true,
|
||||
"PollingDelay": 60000,
|
||||
"PassiveDelay": 60000,
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"ShutdownMode",
|
||||
"Type":"UNKNOWN",
|
||||
"VirtualSensor":true,
|
||||
"TriggerSensor": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":["VIRTUAL-SKIN"],
|
||||
"Coefficient":[1.0],
|
||||
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 55.0, "NAN"],
|
||||
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 4.9, 1.9],
|
||||
"SeverityReference": "battery",
|
||||
"Multiplier":0.001,
|
||||
"SendCallback": true,
|
||||
"SendPowerHint": true,
|
||||
"PollingDelay":300000,
|
||||
"PassiveDelay":7000
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-SKIN",
|
||||
"Type": "SKIN",
|
||||
"Version": "6.1",
|
||||
"VirtualSensor": true,
|
||||
"TriggerSensor": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
|
||||
"Formula": "MAXIMUM",
|
||||
"Combination": ["VIRTUAL-SKIN-MODEL-UPDATED", "VIRTUAL-SKIN-LEGACY"],
|
||||
"Coefficient": [1.0, "VIRTUAL-SKIN-LEGACY-SHUTDOWN"],
|
||||
"CoefficientType":["CONSTANT", "SENSOR"],
|
||||
"HotThreshold": ["NAN", 39.0, 43.0, 45.0, 46.5, 52.0, 60.0],
|
||||
"HotHysteresis": [0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
|
||||
"SeverityReference": "SkinShutdownModeHighPower",
|
||||
"Multiplier": 0.001,
|
||||
"SendCallback": true,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000,
|
||||
"PredictorInfo": {
|
||||
"Sensor": "VIRTUAL-SKIN-LSTM-MODEL"
|
||||
},
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "gxp-cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 0, 6, 6]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -49,6 +49,11 @@
|
|||
"Name":"battery",
|
||||
"Type":"BATTERY",
|
||||
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 60.0],
|
||||
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.9],
|
||||
"SendCallback": true,
|
||||
"TripPointIgnorable": true,
|
||||
"PollingDelay": 60000,
|
||||
"PassiveDelay": 60000,
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue