summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2025-04-29 23:37:50 +0100
committertechyguyperplexable <hlcj1234567@gmail.com>2025-08-25 16:05:39 +0100
commit04c84e92057ebe32fc41f4077e45d71fd4b0f476 (patch)
tree7b238514e8b3d54d3eaa6fe745279d9b772db8e1
parentd38bae72f5259037e9aa1caed26920af9ad85d88 (diff)
universal9830: Migrate Lineage Health to soong_config_set
Change-Id: I2eff39e83b9673aa2989d05de65c646241ba61da
-rw-r--r--BoardConfigCommon.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 634464c..e3ce7d5 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -127,12 +127,12 @@ TARGET_KEYMASTER_VARIANT := samsung
BOARD_USES_METADATA_PARTITION := true
# Lineage health
-TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH := /sys/class/power_supply/battery/charging_enabled
-TARGET_HEALTH_CHARGING_CONTROL_CHARGING_ENABLED := 1
-TARGET_HEALTH_CHARGING_CONTROL_CHARGING_DISABLED := 0
-TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_BYPASS := true
-TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_TOGGLE := true
-TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_DEADLINE := false
+$(call soong_config_set,lineage_health,charging_control_charging_path,/sys/class/power_supply/battery/charging_enabled)
+$(call soong_config_set,lineage_health,charging_control_charging_enabled,1)
+$(call soong_config_set,lineage_health,charging_control_charging_disabled,0)
+$(call soong_config_set,lineage_health,charging_control_charging_bypass,true)
+$(call soong_config_set,lineage_health,charging_control_charging_toggle,true)
+$(call soong_config_set,lineage_health,charging_control_charging_deadline,false)
# Partitions
BOARD_BOOTIMAGE_PARTITION_SIZE := 61865984