lemonadep: Define proper charging control node

This is overriding TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH,
previously set in the common device tree and supports controlling both
wired and wireless charging.

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/5965
Change-Id: I97c00d6a707281e33e6b8c5dfa817ec90714e16a
This commit is contained in:
Albert Tang
2023-07-17 12:00:50 -05:00
committed by Łukasz Patron
parent 926b797b85
commit 00ca78e410

View File

@@ -15,6 +15,9 @@ TARGET_SCREEN_DENSITY := 450
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
# Lineage Health
TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH := /sys/class/oplus_chg/battery/chg_enable
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop