Skip to content

Commit 33e4597

Browse files
committed
deeper in bash
1 parent f591ea8 commit 33e4597

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎battery‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2+
# add to crontab
3+
# */2 * * * * /usr/bin/battery
24

35
DIR="/sys/class/power_supply/BAT0"
46
STATUS=$(cat "$DIR/status")

0 commit comments

Comments
 (0)