summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2019-02-13 16:00:43 -0800
committerYifan Hong <elsk@google.com>2019-03-27 15:35:39 -0700
commit258c8af1e5d966e021319a7475e11a6bfba665fc (patch)
tree66b6a419e15041ac07dcea9c751a610199681fe3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent96cf453355a774b9dd35e5746ce6cf0c4cd6e0a4 (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 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions