Compare commits

...

2 commits
master ... test

Author SHA1 Message Date
576f455dde break the build
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-12-01 12:42:53 +01:00
bfde5c2d21 test
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-12-01 12:38:37 +01:00
2 changed files with 1 additions and 2 deletions

View file

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

1
test.txt Normal file
View file

@ -0,0 +1 @@