Merge "bm: add mitigation config file for caimito" into 24D1-dev
This commit is contained in:
commit
b8e8bcc895
5 changed files with 73 additions and 0 deletions
18
battery_mitigation/bm_config_caiman.json
Normal file
18
battery_mitigation/bm_config_caiman.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"MitigationMethod":[
|
||||
{
|
||||
"Name":"AUDIO_MITIGATION",
|
||||
"Module":"AUDIO",
|
||||
"Trigger":["OILO1"],
|
||||
"State":["LIGHT", "MEDIUM", "HEAVY", "DISABLED"],
|
||||
"Condition":"BASIC"
|
||||
},
|
||||
{
|
||||
"Name":"UNDEFINED",
|
||||
"Module":"UNDEFINED",
|
||||
"Trigger":["OILO1", "OILO2", "UVLO1", "UVLO2", "SMPL"],
|
||||
"State":["START", "LIGHT", "MEDIUM", "HEAVY", "DISABLED"],
|
||||
"Condition":"BASIC"
|
||||
}
|
||||
]
|
||||
}
|
18
battery_mitigation/bm_config_komodo.json
Normal file
18
battery_mitigation/bm_config_komodo.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"MitigationMethod":[
|
||||
{
|
||||
"Name":"AUDIO_MITIGATION",
|
||||
"Module":"AUDIO",
|
||||
"Trigger":["OILO1"],
|
||||
"State":["LIGHT", "MEDIUM", "HEAVY", "DISABLED"],
|
||||
"Condition":"BASIC"
|
||||
},
|
||||
{
|
||||
"Name":"UNDEFINED",
|
||||
"Module":"UNDEFINED",
|
||||
"Trigger":["OILO1", "OILO2", "UVLO1", "UVLO2", "SMPL"],
|
||||
"State":["START", "LIGHT", "MEDIUM", "HEAVY", "DISABLED"],
|
||||
"Condition":"BASIC"
|
||||
}
|
||||
]
|
||||
}
|
11
battery_mitigation/bm_config_ripcurrentpro.json
Normal file
11
battery_mitigation/bm_config_ripcurrentpro.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"MitigationMethod":[
|
||||
{
|
||||
"Name":"UNDEFINED",
|
||||
"Module":"UNDEFINED",
|
||||
"Trigger":["OILO1", "OILO2", "UVLO1", "UVLO2", "SMPL"],
|
||||
"State":["START", "LIGHT", "MEDIUM", "HEAVY", "DISABLED"],
|
||||
"Condition":"BASIC"
|
||||
}
|
||||
]
|
||||
}
|
18
battery_mitigation/bm_config_tokay.json
Normal file
18
battery_mitigation/bm_config_tokay.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"MitigationMethod":[
|
||||
{
|
||||
"Name":"AUDIO_MITIGATION",
|
||||
"Module":"AUDIO",
|
||||
"Trigger":["OILO1"],
|
||||
"State":["LIGHT", "MEDIUM", "HEAVY", "DISABLED"],
|
||||
"Condition":"BASIC"
|
||||
},
|
||||
{
|
||||
"Name":"UNDEFINED",
|
||||
"Module":"UNDEFINED",
|
||||
"Trigger":["OILO1", "OILO2", "UVLO1", "UVLO2", "SMPL"],
|
||||
"State":["START", "LIGHT", "MEDIUM", "HEAVY", "DISABLED"],
|
||||
"Condition":"BASIC"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue