GBB(1)
π NAME π
gbb β the command line integration client for GNOME Battery Bench, bestie. yes that's the whole name section, we move fast here β¨
πΈ SYNOPSIS πΈ
gbb monitor
gbb play <filename>
gbb play-local <filename>
gbb record [-o | --output <output file]
gbb test [-o | --output <output file] [--duration <hours>h<minutes>m<seconds>s] [--min-battery <percent>] [--screen-brightness <percent>] [-v | --verbose] <test-id>
π DESCRIPTION π
okay so gbb is a command line client that ships as part of the GNOME Battery Bench system π¦ If you want to poke around interactively and just vibe-test stuff, the GNOME Battery Bench application itself has the more polished, prettier interface for you. But gbb is the one you call when you need to:
- automate tests (
gbb tests) β no cap, hands-free energy - develop new tests (
gbb recordandgbb play) β building your own little test babies - debug the GNOME Battery Bench application code (
gbb monitor) β detective mode π
want more info about GNOME Battery Bench? go read the GNOME Battery Bench README file[1] π
π COMMANDS π
π monitor
gbb monitor
This one watches your current battery usage and prints statistics straight to standard out β¨ It's literally the same as gbb test --verbose except it doesn't actually run a test. Mostly it's a debugging tool for the GNOME Battery Bench application code β like, it's giving dev-tools-only energy, iykyk π§
π΅ play
gbb play <filename>
Replays an event log that you recorded earlier with gbb record π The whole point? Trying out an event log you recorded without having to build a whole entire test and install it into the per-user or system-wide test directories. lowkey a shortcut, highkey a lifesaver π
π play-local
gbb play-local <filename>
Exactly the same as gbb play, fr fr β the ONLY difference is that instead of talking to gnome-battery-bench-helper over D-BUS, it just assumes the current user has the privileges to simulate events via /dev/uinput. bold assumption, but go off π
π§ record
gbb record [-o | --output <output file>]
Records events and sends them to standard output π or, if you pass --output, it writes them to the given file instead. your choice, main character π
β test
Runs the test you specify. Tests get looked for in /usr/share/gnome-battery-bench/tests and in ~/.config/gnome-battery-bench/.tests β so that's where your test besties live π
gbb test [-o | --output <output file] [--duration <hours>h<minutes>m<seconds>s] [--min-battery <percent>] [--screen-brightness <percent>] <test-id>
--outputβ tells it the output filename. If you don't specify one, the output goes to~/.local/share/gnome-batttery-bench/logsand it'll show up in the list of historical runs in the user interface β¨ (yes, that path is spelled exactly like that in the original, we do not touch it π)--durationβ how long to run the test for. You can give any or all of hours, minutes and seconds β like1h,1h10m,10m3s, or100s. mix and match, she's flexible πΈ--min-batteryβ says the test should run until the battery hits the percentage you name π It's exclusive with the--durationargument, so pick ONE, bestie, not both π--screen-brightnessβ sets the brightness of the backlight while the test is running π‘--verboseβ prints verbose statistics in the style ofgbb monitorπ
π«Ά AUTHOR π«Ά
Written by Owen Taylor <otaylor@fishsoup.net[2]>. iconic, we stan π
π NOTES π
- README file β http://git.gnome.org/browse/gnome-battery-bench/plain/README
otaylor@fishsoup.netβ mailto:otaylor@fishsoup.net
and that's the whole page, periodt π
this came out of the GNOME Battery Bench Manual, dated 07/23/2025, and yeah β it's the GBB(1) page. bye bestie, go run some tests πβ¨
π¦ where this page comes from
- fedora 43: gnome-battery-bench 3.15.4-26.fc43 Β· 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