commit | d1d0ca250a472e35e985b4a1f4cb489805ac8e73 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Apr 08 13:29:07 2019 -0700 |
committer | Yifan Hong <elsk@google.com> | Tue Apr 09 13:13:33 2019 -0700 |
tree | d427a1e4f57d52ea2dd562c18e3452737dfd29f2 | |
parent | bb3e265bb331011023f371d8bad1084f7b6a774b [diff] |
charger: Allow to rw /sys/power/[state,wakeup_count] charger needs to suspend the device when the power goes away when it doesn't have root. These two files are marked with group system, user system, mode 0600 in 'on boot', but it is not executed in charger. Hence, move these actions to 'on init'. Test: no failure in libsuspend in charger Bug: 129138950 Change-Id: I787b935b4ff6177601329aeedccdac361b119ca3