Get Battery Status in CLI
From Suparna at https://www.linuxjournal.com/content/how-check-battery-status-using-linux-command-line
Use cat and find
The “cat” and “find” commands also help find details about your battery and power source.
Syntax
For the battery capacity, the syntax would be:
| |
For more detailed battery information use the find command.
Syntax
And the syntax is,
| |