BATTERY-LOG(1)

πŸ’– BATTERY-LOG πŸ’–

okay bestie, so this is a page from the General Commands Manual and honestly? it's giving "tiny tool, huge main character energy". let's get into it 🫢


✨ NAME ✨

battery-log β€” literally just pulls your battery stats out for you πŸ”‹πŸ’…


🌸 SYNOPSIS 🌸

battery-log files ...

πŸ¦‹ DESCRIPTION πŸ¦‹

So what it does is: it takes the files you hand it, extracts the battery statistics from them, and sends all of that straight to stdout. no cap, that's the whole vibe. ✨

And here's the cute part: any file whose extension is .gz gets uncompressed automatically. you don't have to do a thing, it just handles it. obsessed. πŸŽ€

Now, if you don't specify any files at all? no worries, it's not gonna be dramatic about it β€” it just goes and pulls data from

/var/log/battery-stats*

like, it already knows where to look. lowkey thoughtful. πŸ™ˆ


πŸŽ€ OPTIONS πŸŽ€

okay so… there are no options.

none. zero. the void. she said "I don't need flags, I'm built different." πŸ’€βœ¨


πŸ’œ EXIT STATUS πŸ’œ

Here's the tea: if any of the files can't be opened, you get a non-zero exit code. so if a script is checking on her, she will absolutely let you know something went wrong. 😭


πŸ‘‘ AUTHOR πŸ‘‘

This manual page was written by Karl E. Jorgensen <karl@jorgensen.com>, for the Debian GNU/Linux system (but may be used by others). we love a humble icon. 🫢


🌈 SEE ALSO 🌈

  • battery-stats (5)
  • battery-stats-collector (8)
  • Newer versions of this program may (or may not) be available at http://karl.jorgensen.com/battery-stats β€” yes bestie, "may (or may not)", they really said that, I'm not even joking πŸ’€

and that's the whole page!! this one's dated November 10, 2002 and it comes to you from the Debian GNU/Linux source situation, so go forth and extract those stats, you absolute legend β­πŸ’–