sm6225-common: Add charger service

- Taken from CodeLinaro.
- Fixes offline charging.

Change-Id: I614caefc4a7318e833247a20344f9b9efdcbeea4
This commit is contained in:
Dhina17 2023-07-20 02:12:34 +05:30 committed by Michael Bestas
parent 6198955b5f
commit 0da2e505af

View file

@ -757,6 +757,13 @@ 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 vendor.ssr_diag /system/vendor/bin/ssr_diag service vendor.ssr_diag /system/vendor/bin/ssr_diag
class late_start class late_start
user system user system