Skip to content

Commit

Permalink
Set acc -w default refresh rate to 1 second
Browse files Browse the repository at this point in the history
  • Loading branch information
VR-25 committed Oct 16, 2023
1 parent 3d3dfdb commit 473e2d9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.html
Original file line number Diff line number Diff line change
Expand Up @@ -1971,7 +1971,7 @@ <h3 id="terminal-commands">Terminal Commands<a class="headerlink" href="#termina

-w#|--watch# Monitor battery uevent
e.g.,
acc -w (update info every 3 seconds)
acc -w (update info every second)
acc -w0.5 (update info every half a second)
acc -w0 (no extra delay)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ Options
-w#|--watch# Monitor battery uevent
e.g.,
acc -w (update info every 3 seconds)
acc -w (update info every second)
acc -w0.5 (update info every half a second)
acc -w0 (no extra delay)
Expand Down
2 changes: 1 addition & 1 deletion install/acc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ case "${1-}" in
-w*|--watch*)
sleepSeconds=${1#*h}
sleepSeconds=${sleepSeconds#*w}
: ${sleepSeconds:=3}
: ${sleepSeconds:=1}
. $execDir/batt-info.sh
while :; do
clear
Expand Down
2 changes: 1 addition & 1 deletion install/strings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ Options
-w#|--watch# Monitor battery uevent
e.g.,
acc -w (update info every 3 seconds)
acc -w (update info every second)
acc -w0.5 (update info every half a second)
acc -w0 (no extra delay)
Expand Down

0 comments on commit 473e2d9

Please sign in to comment.