thermal: seperate thermal config for charging

- Separate thermal config for charger mode and remove the unused thermal
throttling.

Bug: 272701980
Test: charging throttling worked properly in charger.
Change-Id: I6a13fccd5981cef561d02fddbb19847801e34883
This commit is contained in:
David Chao 2023-03-16 14:41:40 +08:00
parent 5b07e3c994
commit 3269c3e47f
2 changed files with 66 additions and 1 deletions

View file

@ -76,7 +76,8 @@ DEVICE_MANIFEST_FILE += \
# Thermal Config
PRODUCT_COPY_FILES += \
device/google/akita/thermal_info_config_akita.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json
device/google/akita/thermal_info_config_akita.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \
device/google/akita/thermal_info_config_charge_akita.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_charge.json
# Power HAL config
PRODUCT_COPY_FILES += \

View file

@ -0,0 +1,64 @@
{
"Sensors":[
{
"Name":"battery",
"Type":"BATTERY",
"HotThreshold":[
"NAN",
"NAN",
"NAN",
"NAN",
"NAN",
"NAN",
"60.0"
],
"VrThreshold":"NAN",
"Multiplier":0.001
},
{
"Name":"LITTLE",
"Type":"CPU",
"HotThreshold":[
"NAN",
"NAN",
"NAN",
"NAN",
"NAN",
"NAN",
115.0
],
"VrThreshold":"NAN",
"Multiplier":0.001
},
{
"Name":"MID",
"Type":"CPU",
"HotThreshold":[
"NAN",
"NAN",
"NAN",
"NAN",
"NAN",
"NAN",
115.0
],
"VrThreshold":"NAN",
"Multiplier":0.001
},
{
"Name":"G3D",
"Type":"GPU",
"HotThreshold":[
"NAN",
"NAN",
"NAN",
"NAN",
"NAN",
"NAN",
115.0
],
"VrThreshold":"NAN",
"Multiplier":0.001
}
]
}