commit | 6d63546aee9db28f66f87675b9c459bfa2131210 | [log] [tgz] |
---|---|---|
author | Jin Qian <jinqian@google.com> | Fri Mar 31 14:26:23 2017 -0700 |
committer | Jin Qian <jinqian@google.com> | Fri Mar 31 16:13:55 2017 -0700 |
tree | 8333036730a283b38c717a903016451e3a400281 | |
parent | 99f0000f2a235d27849c3de2b136682929f19665 [diff] |
storaged: exit if batteryproperties service is dead. storaged relies on batteryproperties service (healthd) to provide charger stats. If healthd is killed, kill storaged as well. Both will be restarted by init process anyway to restore a correct state. Test: kill healthd when storaged is running Bug: 36652060 Change-Id: Ia785bb6f5ea259aa43cd1efab9505ebefaf3db12