Reapply "bm: add mitigation config file for caimito"

This reverts commit 43f80c6d44.

Change-Id: Iaf3f6c3ab3656ddb5b0ba51464eba19641d3ff26
This commit is contained in:
samou 2024-03-14 09:39:09 +00:00
parent 015e600737
commit 21709594db
5 changed files with 73 additions and 0 deletions

View file

@ -39,3 +39,11 @@ PRODUCT_COPY_FILES += \
$(TARGET_VENDOR_PERF_CONFIG_PATH)/powerhint-$(TARGET_DEVICE).json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
PRODUCT_COPY_FILES += \
$(TARGET_VENDOR_PERF_CONFIG_PATH)/powerhint-zuma.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint-proto.json
# Battery Mitigation Config
ifeq (,$(TARGET_VENDOR_BATTERY_MITIGATION_CONFIG_PATH))
TARGET_VENDOR_BATTERY_MITIGATION_CONFIG_PATH := device/google/caimito/battery_mitigation
endif
PRODUCT_COPY_FILES += \
$(TARGET_VENDOR_BATTERY_MITIGATION_CONFIG_PATH)/bm_config_$(TARGET_DEVICE).json:$(TARGET_COPY_OUT_VENDOR)/etc/bm_config.json