sm6225-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 Michael Bestas
parent eefd947599
commit e6633b270e
No known key found for this signature in database
GPG key ID: CC95044519BE6669
3 changed files with 1 additions and 13 deletions

View file

@ -220,9 +220,7 @@ PRODUCT_PACKAGES += \
# Health # Health
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.health@2.1-impl:64 \ android.hardware.health-service.qti
android.hardware.health@2.1-impl.recovery \
android.hardware.health@2.1-service
# HIDL # HIDL
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \

View file

@ -1,9 +1,6 @@
# App freezer # App freezer
ro.config.use_freezer=false ro.config.use_freezer=false
# Charger
ro.charger.enable_suspend=1
# LMKD # LMKD
ro.lmk.kill_heaviest_task=true ro.lmk.kill_heaviest_task=true
ro.lmk.swap_util_max=90 ro.lmk.swap_util_max=90

View file

@ -741,13 +741,6 @@ service profiler_daemon /system/bin/profiler_daemon
group root group root
disabled disabled
service charger /system/bin/charger
class charger
user system
group system graphics input
capabilities SYS_BOOT
seclabel u:r:charger:s0
#service diag_mdlog_start /system/vendor/bin/diag_mdlog #service diag_mdlog_start /system/vendor/bin/diag_mdlog
# class late_start # class late_start
# user shell # user shell