Fix stuff that made it less than ideal for me #2

Merged
ptrcnull merged 1 commit from meithecatte/bat-alert:master into master 2024-10-16 21:31:16 +00:00
Showing only changes of commit d230d84e91 - Show all commits

View file

@ -34,7 +34,7 @@ func main() {
notify("error: " + err.Error())
}
if numCap < 15 {
if numCap <= *targetFlag {
if !sent {
sent = true
notify("battery running low!")