summaryrefslogtreecommitdiff
path: root/avg_batt
diff options
context:
space:
mode:
Diffstat (limited to 'avg_batt')
-rwxr-xr-xavg_batt4
1 files changed, 4 insertions, 0 deletions
diff --git a/avg_batt b/avg_batt
new file mode 100755
index 0000000..e7afeee
--- /dev/null
+++ b/avg_batt
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+echo "$(acpi | cut -d' ' -f4|sed 's|%||'|avg|round 0)%"
+