mirror of
https://github.com/pjgowtham/android_device_realme_ferrarri.git
synced 2026-02-16 02:30:41 +00:00
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:
committed by
Łukasz Patron
parent
926b797b85
commit
00ca78e410
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user