sm8450-common: Move to QTI health AIDL service

The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.

Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
This commit is contained in:
Bruno Martins
2023-11-13 13:48:00 +00:00
committed by Arian
parent b07068f0f8
commit 2d6f07b00c
6 changed files with 7 additions and 14 deletions

View File

@@ -139,7 +139,7 @@ on init && property:ro.boot.mode=charger
wait /sys/kernel/boot_adsp/boot
write /sys/kernel/boot_adsp/boot 1
on charger
on property:init.svc.vendor.charger=running
start vendor.power_off_alarm
setprop sys.usb.controller a600000.dwc3
wait /sys/class/udc/${sys.usb.controller}