bm: add mitigation config file for comet
Bug: 319619657 Change-Id: Ia0fd24265603119ad5fe9dbb95cfb54f41c96f1c Signed-off-by: samou <samou@google.com>
This commit is contained in:
parent
4ae1a5d169
commit
091f336787
2 changed files with 26 additions and 0 deletions
18
battery_mitigation/bm_config_comet.json
Normal file
18
battery_mitigation/bm_config_comet.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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -380,6 +380,14 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
persist.bluetooth.leaudio.allow_list=SM-R510
|
persist.bluetooth.leaudio.allow_list=SM-R510
|
||||||
|
|
||||||
|
# Battery Mitigation Config
|
||||||
|
ifeq (,$(TARGET_VENDOR_BATTERY_MITIGATION_CONFIG_PATH))
|
||||||
|
TARGET_VENDOR_BATTERY_MITIGATION_CONFIG_PATH := device/google/comet/battery_mitigation
|
||||||
|
endif
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(TARGET_VENDOR_BATTERY_MITIGATION_CONFIG_PATH)/bm_config_comet.json:$(TARGET_COPY_OUT_VENDOR)/etc/bm_config.json
|
||||||
|
|
||||||
# Exynos RIL and telephony
|
# Exynos RIL and telephony
|
||||||
# Support RIL Domain-selection
|
# Support RIL Domain-selection
|
||||||
SUPPORT_RIL_DOMAIN_SELECTION := true
|
SUPPORT_RIL_DOMAIN_SELECTION := true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue