commit | 566e63da538b627f00e35c5f80b4215534c7d6cb | [log] [tgz] |
---|---|---|
author | Jin Qian <jinqian@google.com> | Fri Mar 31 14:26:23 2017 -0700 |
committer | Jin Qian <jinqian@google.com> | Tue Apr 04 17:45:41 2017 +0000 |
tree | 7e5bbb7ef31a4db813c3190db6eca2cabad77f6f | |
parent | 4882eaba25a4a51d49c3e2122dec6bbc0640a1d7 [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 Merged-In: Ia785bb6f5ea259aa43cd1efab9505ebefaf3db12 Change-Id: Ia785bb6f5ea259aa43cd1efab9505ebefaf3db12