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 ๐Ÿฆ‹