OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4c77b4
)
Show battery level fo devices on buildbot.
author
Nicolas Geoffray
<ngeoffray@google.com>
Wed, 24 Feb 2016 09:53:09 +0000
(09:53 +0000)
committer
Nicolas Geoffray
<ngeoffray@google.com>
Wed, 24 Feb 2016 09:53:53 +0000
(09:53 +0000)
Change-Id: Ic8279d1905c8a6efe08ca190f1bb7332842e1904
tools/setup-buildbot-device.sh
patch
|
blob
|
history
diff --git
a/tools/setup-buildbot-device.sh
b/tools/setup-buildbot-device.sh
index
d5b8989
..
45b60dc
100755
(executable)
--- a/
tools/setup-buildbot-device.sh
+++ b/
tools/setup-buildbot-device.sh
@@
-34,6
+34,9
@@
adb shell getprop
echo -e "${green}Uptime${nc}"
adb shell uptime
+echo -e "${green}Battery info${nc}"
+adb shell dumpsys battery
+
echo -e "${green}Kill stalled dalvikvm processes${nc}"
processes=$(adb shell "ps" | grep dalvikvm | awk '{print $2}')
for i in $processes; do adb shell kill -9 $i; done