summaryrefstree
path: root/system/init.batteryd.rc
blob: d3b6c2f864374f8adfdec26ac3b67d9b093b327b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
service batteryd /vendor/bin/batteryd
    class last_start
    user root
    group system system wakelock
    disabled
    oneshot
    seclabel u:r:batteryd:s0

on property:sys.boot_completed=1
    start batteryd

#run batteryd in off-charge mode
on charger
    start batteryd