diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index af961f9..bc51b67 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -152,6 +152,9 @@ TARGET_KERNEL_EXT_MODULES := \ qcom/opensource/video-driver \ qcom/opensource/wlan/qcacld-3.0 +# Lineage Health +TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_BYPASS := false + # Metadata BOARD_USES_METADATA_PARTITION := true diff --git a/common.mk b/common.mk index 8478179..98a0300 100644 --- a/common.mk +++ b/common.mk @@ -280,6 +280,10 @@ PRODUCT_PACKAGES += \ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.keystore.app_attest_key.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.keystore.app_attest_key.xml +# Lineage Health +PRODUCT_PACKAGES += \ + vendor.lineage.health-service.default + # Media PRODUCT_PACKAGES += \ libOmxCore \ diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc index d32d2c1..0f442c5 100644 --- a/rootdir/etc/ueventd.qcom.rc +++ b/rootdir/etc/ueventd.qcom.rc @@ -506,4 +506,5 @@ subsystem mem_buf_vm /sys/class/devcoredump/devcd* data 0600 system system # Battery +/sys/class/qcom-battery input_suspend 0660 system system /sys/class/qcom-battery reverse_chg_mode 0644 system system