Skip to content

Commit

Permalink
topaz: Move to QTI health AIDL service
Browse files Browse the repository at this point in the history
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: Ia6940e583217710dc90be39f0d58e10f84c6d5c4
  • Loading branch information
bgcngm authored and boedhack99 committed Mar 25, 2024
1 parent 5f9e761 commit f61689f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extract-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

function blob_fixup() {
case "${1}" in
vendor/etc/init/init.batterysecret.rc|vendor/etc/init/init.mi_thermald.rc)
sed -i 's/on charger/on property:init.svc.vendor.charger=running/g' "${2}"
;;
esac
}

Expand Down

0 comments on commit f61689f

Please sign in to comment.