aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorBilly Lau <billylau1@gmail.com>2016-11-15 11:53:00 +0000
committerBilly Lau <billylau1@gmail.com>2016-11-15 11:53:00 +0000
commite246add2ca1c029ea927be7c0370f53405f02a86 (patch)
tree5fbe176bd9cb0c8d11145321a6baa6ed191b584c /executor
parent112238483a2df647d2f482e26d972b70bbd7c34e (diff)
Added a retry clause when doing battery check in adb.go
Some devices may not boot up fast enough when battery check is done as it currently is in adb.go. Therefore, getBatteryLevel() is modified to take in a parameter to determine the number of times to retry before giving up.
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions