Linux cli command lspower

➡ A Linux man page (short for manual page) is a form of software documentation found on Linux and Unix-like operating systems. This man-page explains the command lspower and provides detailed information about the command lspower, system calls, library functions, and other aspects of the system, including usage, options, and examples of _. You can access this man page by typing man followed by the lspower.

NAME 🖥️ lspower 🖥️

enumerate power sources

SYNOPSIS

lspower

DESCRIPTION

This program displays power sources available on this machine, and their status.

The status is given as an icon:


a power source that’s not present or somehow disabled


a power source that’s not an (apparent) battery, that is working ok

+
a battery that’s currently charging


a battery that’s full or otherwise not charging

-
a battery that’s giving off its stored power

If the charge level is known, it is displayed as well. So are abnormal conditions such as overheating.

CAVEATS

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/*).

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░