LSPOWER(1)
โจ LSPOWER(1) โ lspower โจ
๐ NAME ๐
lspower โ enumerate power sources ๐
๐ SYNOPSIS ๐
lspower
๐ DESCRIPTION ๐
okay so lspower is the tea ๐ซ it shows you every power source this machine has, plus what each one is up to right now. no cap, it's giving info dump and I'm obsessed.
the status comes through as an icon, bestie:
โโ a power source that's not present, or is somehow disabled ๐โโ a power source that's not an (apparent) battery, and 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 gets displayed too ๐ and so do abnormal conditions, like overheating ๐ (scary, I know ๐ญ).
โ ๏ธ CAVEATS โ ๏ธ the output is only meant for human eyes ๐, so please don't screen-scrape it, that's a whole vibe-check fail ๐
โโ๏ธ. if you're writing a program, it's way easier to read the data straight from the kernel: /sys/class/power_supply/* ๐ง
Written with love for the manual, dated 2022-08-16 ๐ โจ stay charged, bestie ๐ฆ
๐ฆ where this page comes from
- debian bookworm: powermgmt-base 1.37 ยท GPL-2.0-or-later
- debian trixie: powermgmt-base 1.38 ยท GPL-2.0-or-later
- ubuntu noble: powermgmt-base 1.37 ยท GPL-2.0-or-later
- ubuntu noble: powermgmt-base 1.37ubuntu0.1 ยท GPL-2.0-or-later
- ubuntu questing: powermgmt-base 1.38ubuntu1 ยท GPL-2.0-or-later
- ubuntu resolute: powermgmt-base 1.38ubuntu2 ยท GPL-2.0-or-later
- ubuntu stonking: powermgmt-base 1.39ubuntu1 ยท GPL-2.0-or-later
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms