Fix stuff that made it less than ideal for me #2
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -34,7 +34,7 @@ func main() {
|
|||
notify("error: " + err.Error())
|
||||
}
|
||||
|
||||
if numCap < 15 {
|
||||
if numCap <= *targetFlag {
|
||||
if !sent {
|
||||
sent = true
|
||||
notify("battery running low!")
|
||||
|
|
Loading…
Reference in a new issue