exynos9610: Configure Lineage Health HAL
authorNolen Johnson <johnsonnolen@gmail.com>
Tue, 27 Jun 2023 19:44:47 +0000 (15:44 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Tue, 27 Jun 2023 19:44:47 +0000 (15:44 -0400)
Change-Id: I14b6e4393e9cc55e68b3a7f6bb3b7fb623960ee8

BoardConfigCommon.mk

index 4c9c31ccb3599e6f49ad7d40debc408d90affae5..7fac9d4f59382ec35ae36b66019e2456f1e219a1 100644 (file)
@@ -96,6 +96,13 @@ TARGET_KERNEL_CLANG_PATH := $(abspath .)/prebuilts/clang/kernel/$(HOST_PREBUILT_
 TARGET_KERNEL_LLVM_BINUTILS := false
 TARGET_KERNEL_SOURCE := kernel/motorola/exynos9610
 
+## Lineage Health
+TARGET_HEALTH_CHARGING_CONTROL_CHARGING_ENABLED := 0
+TARGET_HEALTH_CHARGING_CONTROL_CHARGING_DISABLED := 1
+TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_BYPASS := false
+TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_TOGGLE := true
+TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_DEADLINE := false
+
 ## Manifest
 DEVICE_MANIFEST_FILE := $(COMMON_PATH)/manifest.xml