Skip to content

Commit

Permalink
Sleep 30sec on AC power wait.
Browse files Browse the repository at this point in the history
  • Loading branch information
comio committed Feb 20, 2018
1 parent 4450a9e commit 1d49074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btrfsmaintenance-functions
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ wait_ac_power() {
while ! check_power_status "$@"; do
# AC is not online
[ $timeout -gt 0 ] && [ $timecount -ge $timeout ] && return 1
sleep 1s
sleep 30s
timecount=$((timecount+1))
done

Expand Down

0 comments on commit 1d49074

Please sign in to comment.