Index: platform_tools/android/bin/adb_wait_for_device |
diff --git a/platform_tools/android/bin/adb_wait_for_device b/platform_tools/android/bin/adb_wait_for_device |
index 748ada3ddfc66085616c57466ad6ec456108de57..a1f8c1645e1b2053b5370ed3fdf51f5348425a02 100755 |
--- a/platform_tools/android/bin/adb_wait_for_device |
+++ b/platform_tools/android/bin/adb_wait_for_device |
@@ -72,7 +72,7 @@ while [ "$($ADB $DEVICE_SERIAL shell getprop sys.boot_completed | tr -d '\r')" ! |
done |
# Wait for battery charge. |
-DESIRED_BATTERY_LEVEL=100 |
+DESIRED_BATTERY_LEVEL=80 |
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}" |