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