aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2020-12-30 14:20:21 +0000
committerTomasz Kramkowski <tk@the-tk.com>2020-12-30 14:32:50 +0000
commitb927aa1d91d50887e3bb5fa4333687d8ab373828 (patch)
treeb6b9bbb48027a39fadaa7cdef99348bbac607252 /conf
downloadbattd-b927aa1d91d50887e3bb5fa4333687d8ab373828.tar.gz
battd-b927aa1d91d50887e3bb5fa4333687d8ab373828.tar.xz
battd-b927aa1d91d50887e3bb5fa4333687d8ab373828.zip
init commit
Diffstat (limited to 'conf')
-rw-r--r--conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf b/conf
new file mode 100644
index 0000000..cff836d
--- /dev/null
+++ b/conf
@@ -0,0 +1,4 @@
+battery=/sys/class/power_supply/BAT0/uevent
+interval() { ./battcheck min_time=1200 min_pct=16 "$battery"; }
+check() { ./battcheck min_time=600 min_pct=8 "$battery"; }
+failed() { zzz -H; }