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 βπ
π¦ where this page comes from
- debian bookworm: battery-stats 0.5.6-2+b2 Β· GPL-2.0-or-later
- debian trixie: battery-stats 0.5.6-2.1 Β· GPL-2.0-or-later
- ubuntu jammy: battery-stats 0.5.6-2 Β· GPL-2.0-or-later
- ubuntu noble: battery-stats 0.5.6-2.1 Β· GPL-2.0-or-later
- ubuntu resolute: battery-stats 0.5.6-3 Β· GPL-2.0-or-later
- ubuntu stonking: battery-stats 0.5.6-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms