File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,9 @@ TARGET_KERNEL_EXT_MODULES := \
145
145
qcom/opensource/video-driver \
146
146
qcom/opensource/wlan/qcacld-3.0/.qca6490
147
147
148
+ # Lineage Health
149
+ TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH := /sys/class/oplus_chg/battery/mmi_charging_enable
150
+
148
151
# Platform
149
152
BOARD_USES_QCOM_HARDWARE := true
150
153
Original file line number Diff line number Diff line change @@ -278,6 +278,10 @@ PRODUCT_PACKAGES += \
278
278
libprotobuf-cpp-lite-3.9.1-vendorcompat \
279
279
libprotobuf-cpp-full-3.9.1-vendorcompat
280
280
281
+ # Lineage Health
282
+ PRODUCT_PACKAGES += \
283
+ vendor.lineage.health-service.default
284
+
281
285
# LiveDisplay
282
286
PRODUCT_PACKAGES += \
283
287
vendor.lineage.livedisplay@2.1-service.oplus
Original file line number Diff line number Diff line change 4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
6
6
7
+ # Charger
8
+ /sys/class/oplus_chg/* mmi_charging_enable 0660 system system
9
+
7
10
# NFC
8
11
/dev/st21nfc 0660 nfc nfc
9
12
/dev/st54spi 0660 secure_element secure_element
You can’t perform that action at this time.
0 commit comments