scripts/utilities/check-battery.sh

3 lines
50 B
Bash
Executable File

#!/bin/bash
upower -i $(upower -e | grep battery)