thermal: seperate thermal config for charging

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

Bug: 243347663
Test: thermalHAL init completed in charger.
Change-Id: I474d58d51ec715c90fcf4d8ad8d377db4e8e43f0
This commit is contained in:
David Chao 2022-08-25 16:13:59 +08:00
parent b5914301da
commit 03f56679b7
2 changed files with 11 additions and 1 deletions

View file

@ -70,7 +70,8 @@ PRODUCT_COPY_FILES += \
# Thermal Config # Thermal Config
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
device/google/tangorpro/thermal_info_config_tangorpro.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json device/google/tangorpro/thermal_info_config_tangorpro.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \
device/google/tangorpro/thermal_info_config_charge_tangorpro.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_charge.json \
# Power HAL config # Power HAL config
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \

View file

@ -0,0 +1,9 @@
{
"Sensors":[
{
"Name":"battery",
"Type":"BATTERY",
"Multiplier":0.001
}
]
}