Skip to content

Commit

Permalink
init.sc8830.rc: fix offline charging
Browse files Browse the repository at this point in the history
This allows offline charging to work, but the graphics to show the battery icon charging doesn't work.
  • Loading branch information
retiredtab-gerrit committed Nov 23, 2023
1 parent 4b9bfee commit ce024c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rootdir/init.sc8830.rc
Expand Up @@ -196,10 +196,10 @@ on property:ro.config.ksm.support=true
write /sys/kernel/mm/ksm/sleep_millisecs 500
write /sys/kernel/mm/ksm/run 1

service charge /bin/charge
service charger /sbin/healthd -c
class charger
user root
oneshot
critical
seclabel u:r:healthd:s0

on property:persist.modem.w.enable=1
symlink /dev/spipe_w1 /dev/vbpipe1
Expand Down

0 comments on commit ce024c2

Please sign in to comment.