WidgetCraftGet the app

Terminal · Battery · 2 × 2 widget

Terminal battery widget

By the WidgetCraft team · Updated

A terminal battery widget shows your charge level as a ring with the percentage in the middle. Green or amber monospace text on black, like a command line. This page gives the exact colors, type settings and layers, with a preview drawn from the same values.

Terminal battery widget design preview: Green or amber monospace text on black, like a command line.
Design preview drawn from the recipe below. Example values are shown; your widget uses live data.

What a terminal battery widget shows

A battery widget turns one number into a shape you can read without thinking. A ring that fills clockwise is the clearest form, with the percentage inside it.

Battery level is a free, built-in source in WidgetCraft and needs no permission. The widget refreshes when the charge changes or the charger is connected.

How the terminal style shapes it

Terminal widgets look like a command prompt: a black background, green monospace text, a prompt symbol and plain text output instead of graphics.

Terminal battery widget recipe

LayerSettings
Canvas200 × 200, background #050805, corner radius 6, outline 1 pt #39FF6A
Ringdiameter 120, stroke 9, track #2A9D50 at 28% opacity, progress #39FF6A, round ends, start at top
Batterylevel as a number, JetBrains Mono, size 44, color #39FF6A, centered in the ring
Text"percent" at size 10 and "Battery" at size 11, color #2A9D50
Ornamenta 20-point title bar across the top in the darker green-black, with three small dots at its left like a terminal window
FontJetBrains Mono (import the font file), or the built-in Mono
Home screen size2 × 2 cells

Terminal color palette

How to make a terminal battery widget in WidgetCraft

  1. Create a widget and open Canvas. Set the size to 200 × 200, the background to #050805 and the corner radius to 6. Add a 1-point outline.
  2. Tap Add and choose Ring. Set the diameter to 120 and the stroke to 9.
  3. Open Data for the ring and connect it to Battery level with a range of 0 to 100.
  4. Color the progress #39FF6A and the track #2A9D50 at about 28% opacity.
  5. Add a Battery layer in the center at size 44 in #39FF6A, then a small Text label underneath.
  6. Add the terminal ornament with Shape layers and move them below the other layers in Layers: a 20-point title bar across the top in the darker green-black, with three small dots at its left like a terminal window.
  7. Tap Save, then Add to home screen and resize the widget on your launcher if needed.

Everything in this recipe works in the free version.

Tips for terminal battery widgets

Questions about the terminal battery widget

What size is a terminal battery widget?

It is designed for 2 × 2 home screen cells on a 200 × 200 canvas. You can resize it on the launcher and the design scales in proportion.

Which colors does it use?

Black (#050805) for the background, Phosphor green (#39FF6A) for the main text, Dim green (#2A9D50) for labels and Green (#39FF6A) as the accent.

Is it free to make?

Yes. Battery widgets use free features in WidgetCraft, and the terminal styling is free too.

What else is this style called?

People also search for hacker battery widget, command line battery widget, code battery widget, matrix battery widget. They describe the same look as this terminal battery widget.

More terminal widgets

Battery widgets in other styles