commit | 50850b152fce606f2015facf287f04224e647a9c | [log] [tgz] |
---|---|---|
author | borenet <borenet@google.com> | Mon Jan 04 10:44:03 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Mon Jan 04 10:44:03 2016 -0800 |
tree | b91593d28e7144445e2d8465951daff416a7acd4 | |
parent | b3a835891cf221bdf4c6eeb4cf404b374955015f [diff] |
Android devices: wait for 100% charge Some devices are getting pretty low by the end of the build (3%). No reason to cut it close, bump to 100% charge. This will cause some devices to sit for a while as they charge up. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1556023002 Review URL: https://codereview.chromium.org/1556023002
diff --git a/platform_tools/android/bin/adb_wait_for_device b/platform_tools/android/bin/adb_wait_for_device index acf73b1..748ada3 100755 --- a/platform_tools/android/bin/adb_wait_for_device +++ b/platform_tools/android/bin/adb_wait_for_device
@@ -72,7 +72,7 @@ done # Wait for battery charge. -DESIRED_BATTERY_LEVEL=30 +DESIRED_BATTERY_LEVEL=100 CURRENT_BATTERY_LEVEL="$(get_battery_level)" while [ "${CURRENT_BATTERY_LEVEL}" -lt "${DESIRED_BATTERY_LEVEL}" ]; do echo "Battery level is ${CURRENT_BATTERY_LEVEL}; waiting to charge to ${DESIRED_BATTERY_LEVEL}"