LSPOWER(1) | General Commands Manual | LSPOWER(1) |
lspower - enumerate power sources
lspower
This program displays power sources available on this machine, and their status.
The status is given as an icon:
If the charge level is known, it is displayed as well. So are abnormal conditions such as overheating.
The output is meant only for human consumption, and is not supposed to be screen-scraped. For a program, it's much easier to read data from the kernel directly (/sys/class/power_supply/*).
2022-08-16 |