diff --git a/battery_mitigation/bm_config_ripcurrentpro.json b/battery_mitigation/bm_config_ripcurrentpro.json deleted file mode 100644 index 7848d87f..00000000 --- a/battery_mitigation/bm_config_ripcurrentpro.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "MitigationMethod":[ - { - "Name":"UNDEFINED", - "Module":"UNDEFINED", - "Trigger":["OILO1", "OILO2", "UVLO1", "UVLO2", "SMPL"], - "State":["START", "LIGHT", "MEDIUM", "HEAVY", "DISABLED"], - "Condition":"BASIC" - } - ] -} diff --git a/device-caimito-common.mk b/device-caimito-common.mk index d5ade64d..92014ddd 100644 --- a/device-caimito-common.mk +++ b/device-caimito-common.mk @@ -41,9 +41,11 @@ PRODUCT_COPY_FILES += \ $(TARGET_VENDOR_PERF_CONFIG_PATH)/powerhint-zuma.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint-proto.json # Battery Mitigation Config +ifneq (,$(filter $(TARGET_DEVICE),komodo caiman tokay)) 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 +endif