Searched refs:battery (Results 1 – 2 of 2) sorted by relevance
76 local battery79 while [ "$battery" = "" ]; do80 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'`83 if [ $battery -lt $LIMIT ]; then86 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'`87 if (( $battery >= $TARGET )); then break; fi88 tick=$[$TARGET - $battery]89 echo "battery charge level is $battery, sleeping for $tick seconds"90 sleep $[$TARGET - $battery * 10]92 log_print "resuming test run with battery level at $battery%"[all …]
9 It will detect if it is in a low battery situation and wait for it to charge