sm7250-common: Adaptive charging xml

Allows to enable adaptive charging toggle.

Signed-off-by: sakhiofsakshi <imsakshisharma04@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
This commit is contained in:
HotDogfinba11
2021-12-06 15:51:39 +05:30
committed by Sandeep P S
parent 5cc57c3755
commit 65ea78171c
2 changed files with 12 additions and 0 deletions

View File

@@ -114,6 +114,10 @@ PRODUCT_PACKAGES += \
checkpoint_gc \
otapreopt_script
# Adaptive charging
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/adaptivecharging.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/adaptivecharging.xml
# ANT+
PRODUCT_PACKAGES += \
AntHalService-Soong \

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on devices that support Adaptive Charging -->
<config>
<!-- This feature is meant to be the feature identifying devices that support
Adaptive Charging -->
<feature name="com.google.android.feature.ADAPTIVE_CHARGING" />
</config>