lspower(1)

lspower1

Enumerate power sources

Usage

lspower

Overview

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

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

From powermgmt-base 1.38 in Debian 13 (Trixie). Parsed by carta from the page's man source.