Option 1
cat /sys/class/power_supply/BAT0/capacity
Option 2: install the package acpi and
acpi -i
Sources:
How do I check the battery's status via the terminal?
How to Check Battery Status Using Linux Command Line
Niciun comentariu:
Trimiteți un comentariu