commit | a8f55cacaa2b5e7338b3a16d578e4cba111a0a40 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Oct 20 23:05:45 2021 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed Nov 03 11:56:01 2021 -0700 |
tree | 54bdf3f961889feb7b82410d14df7e5ef15e65a8 | |
parent | 236fa8908c60a58fe1bfc4478e7d91a6d0e46f8f [diff] [blame] |
health: handle charger in health HAL Test: manual in charger mode Bug: 203246116 Change-Id: Id02077d78fa8b1489ea4fba5b10e32f961c4cea0
diff --git a/health/aidl/default/android.hardware.health-service.example.rc b/health/aidl/default/android.hardware.health-service.example.rc index b393c58..dee3d11 100644 --- a/health/aidl/default/android.hardware.health-service.example.rc +++ b/health/aidl/default/android.hardware.health-service.example.rc
@@ -4,3 +4,13 @@ group system capabilities WAKE_ALARM BLOCK_SUSPEND file /dev/kmsg w + +service vendor.charger-default /vendor/bin/hw/android.hardware.health-service.example --charger + class charger + user system + group system wakelock input + capabilities SYS_BOOT + file /dev/kmsg w + file /sys/fs/pstore/console-ramoops-0 r + file /sys/fs/pstore/console-ramoops r + file /proc/last_kmsg r