MuPiBox Documentation MuPiBox NG

Display & power

Brightness, display size, screensaver, idle sequences with standby and shutdown, night times, LED lighting and standby on the power button.

Under Box & Playback → Display & power you set how bright the display is, what happens when the box is idle and how the power button behaves.

Display & power

Brightness and display size

  • Normal brightness: 1–100 %. How finely the brightness can be set depends on the display (see Display & touch).
  • Display size: small, normal or large. Enlarges text and touch areas on the kids' interface; "normal" is meant for 5- to 7-inch displays.

Inactivity

There are two separate sequences with up to five stages each. Every stage starts a set time after the previous one; the first counts from the last interaction. A touch, a button, an RFID card or a command from the app resets everything. Every tap and swipe on the display counts as a touch, including covers, the player and the kids apps – a child playing piano or drawing does not get the screensaver or standby. A dimmed display becomes bright again with the touch; with the screensaver or a switched-off display, the first touch only ends that state.

SequenceAllowed stagesMeant for
While music playsdim, screensaver, display offsaving the display while music keeps playing. The box never switches off.
When nothing playsalso standby and switch offsaving power when the box was forgotten.

"When nothing plays" counts from the last interaction or the end of playback – whichever was later. Everything that plays counts as playback: local media, Spotify and Music Assistant. Paused music counts as "nothing plays".

Each stage must go "deeper" than the one before (dim → screensaver → display off → standby → switch off). An example for "When nothing plays":

  1. after 5 minutes screensaver
  2. after another 5 minutes display off
  3. after another 50 minutes standby
  4. after another 2 hours switch off

Before standby and switch off, the box checks again that nothing is playing. Touch remains disabled in standby, whether standby was entered by idle timeout or the power button. Only the power button wakes the box. If "switch off" follows standby, the box switches off from standby after the set time.

Idle brightness applies to the "dim" and "screensaver" stages.

Screensaver

A retro pixel worm crawling across the display. Colour mode (rainbow, neon, theme, single colour), background, pixel size, worm length, base speed and random turbo bursts can be set. A touch ends it immediately; that touch does not trigger anything on the interface underneath. As soon as the idle sequence reaches display-off or standby, the animation stops entirely and no worm game computations continue in the background.

Timed brightness (night)

With night brightness the display is dimmed in set time windows, e.g. Mon–Fri 19:30–07:00. Several windows are possible, also across midnight.

Button and LED lighting

Controls lit buttons and the power LED (see Buttons). PWM-capable pins dim smoothly, others only switch on or off.

  • Follow the display idle: when idle the LED switches to the idle brightness.
  • Also use night time: the idle brightness also applies in the night windows.

Standby (quick start)

With "Power button puts the box into standby" a short press does not shut the box down but sends it into a standby from which it is back in about one second.

In standby:

  • playback is paused,
  • the display goes dark and touch is ignored (touches do not pile up),
  • the interface is frozen (no CPU load),
  • CPU and Wi-Fi run in power-saving mode, the Pi's LEDs are off,
  • background services nobody needs rest (network neighbourhood, Sendspin),
  • the button LED glows with the configured standby brightness.

Another short press wakes the box.

How the battery lasts longer in standby:

  • Built-in Wi-Fi instead of a USB stick: a USB Wi-Fi stick draws power all the time. If the Pi's own Wi-Fi works well for you, choose it as the preferred adapter under Network.
  • Turn off Bluetooth only in standby (default on new installations): Under Display & power → Standby, Bluetooth radio is disabled while sleeping, so devices cannot connect or wake the box over Bluetooth. On wake, the previous radio state is restored automatically without rebooting; paired controllers stay paired. Updates leave existing box settings unchanged. Four 10-minute tests on box 110 found no measurable power-saving benefit; the main benefit is preventing Bluetooth connections in standby.
  • Switch off USB Wi-Fi in standby: under Display & power → Standby, Switch off the USB Wi-Fi stick in standby turns the stick off while the box sleeps. Measured, this saves a good 0.5 W (standby 3.5 instead of about 4.0 W). In standby the box is then not reachable over Wi-Fi (app, Home Assistant); after waking the connection takes 10–20 seconds, 5 seconds in the test. The Pi's built-in Wi-Fi is not affected.
  • A display whose backlight can switch off: on the Waveshare 5″ (newer revisions) the backlight stays dimly on in standby, which costs power all the time. The official Raspberry Pi display switches it off completely.
  • Long breaks: switch off instead of standby. Under "When nothing plays", switch off can follow standby; with a MuPiHAT the box then draws no power.

Display and standby

Whether the display really turns black in standby depends on the hardware:

DisplayBehaviour in standby
Official Raspberry Pi touch displaybacklight switches off completely.
Displays with Linux backlight controlbacklight switches off or to its minimum.
Waveshare DSI 4.3″ and 5″only dimmed at brightness 0; fully dark with "Switch the display signal off" (default).
Displays without backlight control (many HDMI displays)with "Switch the display signal off" the monitor goes to its sleep mode.

Switch the display signal off (recommended, default): under Display & power, "Switch the display signal off when the display is off" is on. In standby and at "display off" (inactivity) the box then stops the interface and switches the display signal off – so displays whose backlight cannot be switched off fully via brightness also go dark. A tap on the display, a button, an RFID card or the app wakes it; the interface restarts (about 2 seconds on a Pi 4) and begins on the home page. With the option off, the box only freezes the interface as before (waking in under a second) and shows a black picture first.

Requirement: a power button

Standby needs a button that the kernel reports as a power button (overlay gpio-shutdown). With a MuPiHAT it is set up automatically (BCM 17). Without a MuPiHAT see the GPIO reference. If no button is found, the page shows a notice.

Long press and battery

  • Hold the button for 2 seconds to switch off: with button standby enabled, the box shuts down cleanly, including on MuPiHAT hardware. You can disable the long-press shutdown in the standby settings. The power-cut circuit disconnects power only after Linux has halted; an independent hardware emergency cut-off remains unaffected.
  • Still switch off in standby below … % battery: with a MuPiHAT on battery, a box in standby shuts down quietly at this threshold (default 20 %, never below the regular protective shutdown).

Power button diagnostics

"Check button" shows what the running kernel has really loaded: the button (with its GPIO), a power cut circuit, the matching lines of config.txt (also outside the MuPiBox block or under sections like [pi4]), whether systemd-logind still handles the button itself, other programs reading the button or GPIOs, and the latest button events. If the entry "backend stopped" is missing before a start, the power was cut without a shutdown.

© 2026 MuPiBox