diff options
| author | 2019-02-13 16:00:43 -0800 | |
|---|---|---|
| committer | 2019-03-27 15:35:39 -0700 | |
| commit | 258c8af1e5d966e021319a7475e11a6bfba665fc (patch) | |
| tree | 66b6a419e15041ac07dcea9c751a610199681fe3 /libs/androidfw/AssetManager.cpp | |
| parent | 96cf453355a774b9dd35e5746ce6cf0c4cd6e0a4 (diff) | |
Shutdown device gracefully when net discharging
Instead of checking the presence of power supplies, check
battery status to determine whether it should
shutdown. In detail, shutdown if
battery level == 0 && status != charging
Change-Id: Ie3d93d305e40f2f45d60538e7831f00be0380544
Fixes: 115715604
Test: boots
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions