Make the target actually configurable
This commit is contained in:
parent
cc129b9387
commit
d230d84e91
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