summaryrefslogtreecommitdiff
path: root/scripts/sh/battery
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/sh/battery')
-rwxr-xr-xscripts/sh/battery4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/sh/battery b/scripts/sh/battery
new file mode 100755
index 0000000..b253445
--- /dev/null
+++ b/scripts/sh/battery
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+echo "First:" "$(cat /sys/class/power_supply/BAT0/capacity)%"
+echo "Second:" "$(cat /sys/class/power_supply/BAT1/capacity)%"