From 0da2e505afb8c8f089f9d2b6132918364d019186 Mon Sep 17 00:00:00 2001 From: Dhina17 Date: Thu, 20 Jul 2023 02:12:34 +0530 Subject: [PATCH] sm6225-common: Add charger service - Taken from CodeLinaro. - Fixes offline charging. Change-Id: I614caefc4a7318e833247a20344f9b9efdcbeea4 --- rootdir/etc/init.qcom.rc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 8b4958d..3d0d58d 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -757,6 +757,13 @@ service profiler_daemon /system/bin/profiler_daemon group root 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 class late_start user system