break the build
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
ptrcnull 2021-12-01 12:42:53 +01:00
parent bfde5c2d21
commit 576f455dde

View file

@ -20,8 +20,6 @@ func notify(msg string) {
var targetFlag = flag.Int("target", 15, "when to send the alert")
func main() {
flag.Parse()
sent := false
for {
capacity, err := os.ReadFile("/sys/class/power_supply/BAT0/capacity")