run-on-bat(1)
π run-on-bat β the manual, but make it cute π
okay bestie, so this is the run-on-bat(1) page from the Power Management section of the manual. it's a tiny little script-gremlin that does one thing and does it flawlessly. no cap. π¦
β¨ NAME β¨
run-on-bat β run a command, but only when you're on battery power πβ¨
like. it waits for the laptop to unplug from the wall and then it does the thing. it's giving "only if we're running on vibes and battery cells". π
πΈ SYNOPSIS πΈ
run-on-bat command [arg(s)]
so you hand it a command, and then optionally some arg(s) for that command, and it runs the whole little ensemble only when the machine is on battery. the args just get passed along, no drama, no judgment. π
π«Ά SEE ALSO π«Ά
run-on-ac(1)β the mirror twin, does the thing when you're plugged in β‘tlp(8)β the big boss, the whole power management situation π
π BUGS π
found a bug?? not the vibe, but okay, we handle it. report bugs to:
<https://github.com/linrunner/TLP/issues>
please be nice to the issue tracker, it's doing its best. π
π AUTHOR π
(c) 2026 Thomas Koch <linrunner at gmx.net>
heads up bestie: this page is from TLP 1.10.2, dated 2026-07-06. that's the version and the date, and i'm telling you at the bottom like a little sign-off because that's where it belongs. π mwah, go run something on battery, you got this πβπ§
π¦ where this page comes from
- arch rolling: tlp 1.10.2-1 Β· GPL-2.0-or-later
- fedora 44: tlp 1.10.2-1.fc44 Β· GPL-2.0-or-later
- nixpkgs unstable: tlp 1.10.2
- ubuntu stonking: tlp 1.10.2-2 Β· 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