summaryrefslogtreecommitdiff
path: root/scripts/sh/battery
blob: b253445a2af7e814a1ff1cdf4e963ca6c3836640 (plain) (blame)
1
2
3
4
#!/bin/sh

echo "First:" "$(cat /sys/class/power_supply/BAT0/capacity)%"
echo "Second:" "$(cat /sys/class/power_supply/BAT1/capacity)%"