A Raspberry Pi 5 on battery is where most portable cyberdecks get stuck. The board wants a power profile that most power banks do not offer, it quietly limits its USB ports when it does not get it, and every battery board makes different promises. This guide goes past the basics: what the Pi 5 actually asks for, what really happens on a 3A supply, which UPS HATs are built for it, and how long each option runs, worked out step by step. Prices checked in October 2026.
The short answer
The Pi 5 wants 5V at 5A (25 W). On anything less it still runs, but caps its USB ports at 600 mA instead of 1.6A. Most power banks only offer 5V at 3A, which is fine for a Pi, a small screen and a keyboard. For SSDs and a no-warning boot, use a Pi 5 UPS HAT rated 5V 5A, such as the Geekworm X1200 ($48) or SunFounder PiPower 5 ($34.99). Expect roughly 3 to 14 hours of light use depending on the battery.
- How much power does a Raspberry Pi 5 need?
- What happens on a 3A supply
- Can a power bank run a Raspberry Pi 5?
- Raspberry Pi 5 UPS HATs compared
- How long will a Pi 5 run on battery?
- 18650 vs LiPo: which is safer?
- Make the battery last longer
- FAQ
How much power does a Raspberry Pi 5 need?
Raspberry Pi recommends its 27 W USB-C Power Supply for the Pi 5. The number that matters is not 27 W, though. The Pi 5 only ever uses the supply's 5V settings and ignores the higher voltages, so the most it can draw is 5V at 5A, or 25 W. That spare power is what feeds the USB ports, the fan, HATs and an SSD.

The board itself uses far less than 25 W. Raspberry Pi lists a typical bare-board draw of 800 mA (about 4 W). Jeff Geerling measured the Pi 5 at these levels:
| Pi 5 model | Idle | Full stress test |
|---|---|---|
| 2GB | 2.4 W | 8.9 W |
| 4GB | 3.3 W | 9.8 W |
| 8GB | 3.2 W | 9.8 W |
Then add your screen. A 4.3 inch DSI panel draws about 1.2 W; Raspberry Pi's 7 inch Touch Display 2 about 3 W at full brightness. Raspberry Pi's own cyberdeck guide budgets 25 W for the Pi plus 3 W for that screen: a 28 W supply at minimum. Screen choices are covered in our cyberdeck screen guide.
What happens on a 3A supply (and the low voltage warning)
When the Pi 5 boots, it asks the USB-C supply which power levels it offers. If it does not hear "5V at 5A", it assumes 5V at 3A and plays it safe:
That is all straight from Raspberry Pi's USB Power Delivery white paper, which also says the Pi 5 "will function perfectly well with a 3A supply, provided that only lower-power peripherals are attached." A keyboard and a mouse are fine. A USB SSD, a hard drive or a hungry radio dongle is where trouble starts.
The power limit warning is one thing. The low voltage warning is another, and more serious. Every Pi since 2014 (except the Zero range) watches its input, and if it drops below about 4.63 V it writes an entry to the kernel log. Raspberry Pi warns that a poor supply can corrupt storage. The usual causes are too many USB devices, a weak supply, or a cable with thin wires.
-
See what the Pi negotiated. Run
vcgencmd get_config usb_max_current_enable. A 1 means the full 1.6A USB budget is on. -
Check for undervoltage. Run
vcgencmd get_throttled. Bit0x1means undervoltage right now;0x10000means it has happened since boot.0x0is clean. - Fix the cause, not the warning. A shorter or thicker cable, a better supply, or a powered USB hub for the hungry devices.
About usb_max_current_enable=1. Adding this line to config.txt tells the Pi to allow 1.6A on USB even without a 5A handshake. It does not make your supply any stronger. Only use it when the supply truly delivers 5A but cannot say so (some battery boards). On a 3A power bank it just moves the problem from a warning to a brownout.
Can a power bank run a Raspberry Pi 5?
Yes, with one catch. In the USB Power Delivery standard, 5V at 5A is an optional profile. Raspberry Pi's white paper says so directly and tells you to check for it. Many power banks skip it: their USB-C output usually starts at 5V 3A and then jumps to 9V and higher, which the Pi 5 ignores.

Here is the part most guides miss: 5V at 3A is still 15 W. From the measurements above, a Pi 5 at full stress plus a 4.3 inch screen is about 11 W. So an ordinary 3A bank runs a typical deck fine. You just live with the 600 mA USB budget and the warning on the desktop.
A 3A power bank is fine if
- Your keyboard and mouse are the only USB devices
- You boot from microSD or an NVMe HAT, not a USB drive
- You want the simplest, safest battery: it charges like a phone
You need real 5V 5A if
- You boot from a USB SSD
- You run radios, SDR dongles or drives off the Pi's ports
- You want no warning and no button press to boot
If a bank does list 5V 5A, use a cable rated for 5A. Those cables carry a small "e-marker" chip, and without one chargers generally fall back to 3A. Raspberry Pi's own supplies avoid the issue with a thick cable that does not come off.
Raspberry Pi 5 UPS HATs compared
A UPS HAT is a battery board made for the Pi. It sits under or on top of the board, holds the cells, charges them from a USB-C supply and switches to battery instantly when you unplug. These are the ones built for the Pi 5 and rated for its full 5A, with prices from each maker's own US store.
| Board | Battery | Output | Price |
|---|---|---|---|
| Geekworm X1200 | 2 x 18650 (not included) | 5.1V, 5A | $48.00 |
| Geekworm X1202 | 4 x 18650 (not included) | 5.1V, 5A | $51.00 |
| DFRobot Pi 5 18650 UPS HAT | 4 x 18650 (not included) | 5V, 5A | $53.00 |
| Waveshare UPS HAT (E) | 4 x 21700 (not included) | 5V, 6A | $32.99 |
| SunFounder PiPower 5 | 7.4V 2000 mAh pack | 5V, 5A | $34.99 |
Prices checked October 2026 on geekworm.com, dfrobot.com, waveshare.com and sunfounder.com. Cells cost extra on all but the PiPower 5, which Raspberry Pi's magazine reviewed with its two-cell pack included and rated 9 out of 10.
- Geekworm X1200 and X1202 sit under the Pi and feed it through spring pogo pins, so the 40-pin header stays free. Both cut power when the Pi shuts down. The X1202 also takes a 6 to 18 V barrel jack.
- DFRobot's board is the same idea with four cells, reverse-polarity protection and a programmable low-battery shutdown.
- Waveshare UPS HAT (E) takes the bigger 21700 cells, charges at up to 40 W over USB-C PD and reports battery level over I2C.
- SunFounder PiPower 5 sits on top as a HAT, takes USB-C PD input up to 45 W, and has a web dashboard, buzzer alerts and safe shutdown.
The setting UPS boards need. A board that feeds the Pi through pins cannot do the USB-C handshake, so the Pi assumes 3A. Geekworm's setup guide adds PSU_MAX_CURRENT=5000 to the bootloader settings (sudo rpi-eeprom-config --edit). In Geekworm's words, it "declares the available current to firmware; it does not increase the physical power supply capacity." Follow your board's own wiki.

How long will a Raspberry Pi 5 run on battery?
Our cyberdeck build guide has the one-line version. Here is the full worked example, for every option above.
- Battery energy. Watt-hours = mAh x volts / 1,000. Lithium cells are rated at about 3.6 to 3.7 V. Two 3,000 mAh 18650 cells: 2 x 3,000 x 3.6 / 1,000 = 21.6 Wh.
- Deck power. Light use: a 4GB Pi 5 at idle (3.3 W) plus a 4.3 inch screen (1.2 W) = 4.5 W. Heavy load: 9.8 W + 1.2 W = 11 W.
- Losses. The board has to convert the cell voltage to 5V, and that wastes some energy. We knock off 15 percent as a rough allowance: 21.6 x 0.85 = 18.4 Wh usable.
- Divide. 18.4 / 4.5 = about 4 hours light. 18.4 / 11 = about 1.7 hours flat out.
These line up with the makers' own claims. Geekworm says the X1200 runs "up to 6 hours" depending on cells and workload, and Raspberry Pi's magazine says the PiPower 5 lasts "up to around five hours." Both are for a Pi on its own, without our screen.
Measure your own. Brightness, Wi-Fi, a fan, an SSD and your real workload all move the number. A USB-C power meter between the battery and the deck gives you the true watts; put them into the steps above.
18650 vs LiPo: which is safer for a cyberdeck?
Raspberry Pi's cyberdeck guide is blunt: a power bank "is a safer option than a LiPo battery." If you build your own pack, the cell type matters.
18650 and 21700 cells
- A steel can that holds its shape under internal pressure
- Swap them out in seconds from a holder
- Pi 5 UPS boards from Geekworm and DFRobot want cells without a built-in protection circuit (it limits current), so the board does the protecting
- Never mix old and new cells, or brands
LiPo pouch packs
- Thin and light, fits odd case shapes
- No metal case: some designs swell 8 to 10 percent over 500 cycles, so leave room
- Must have a protection circuit and a proper charger
- Easy to puncture or crush in a tight case
The rules that apply to both, from Battery University, Adafruit and Raspberry Pi: buy cells from a known brand, use a charger made for them, fit a fuse close to the battery in a DIY pack, never let cells run flat, and stop using any cell that looks swollen, dented or discolored. Waveshare and DFRobot both say to replace cells after about two years.
Make the battery last longer
-
Fix the "off" drain. A shut-down Pi 5 still draws about 1 to 1.4 W. Add
POWER_OFF_ON_HALT=1withsudo rpi-eeprom-config -eand it drops to about 0.01 W. Most UPS boards above also cut power after shutdown. - Dim the screen. The backlight is most of a screen's draw.
- Pick the 2GB board for a lean deck. It idled about 0.9 W lower than the 4GB and 8GB in Geerling's tests.
- Move hungry USB gear to a powered hub so it never pulls on the Pi's budget.
- Keep wall power simple. Our own CJ-9 desk deck runs an NVMe SSD and simply lives on the official 27 W supply ($14.04 at Adafruit, October 2026).
FAQ
Can a Raspberry Pi 5 run on a power bank?
Yes. A USB-C bank that gives 5V at 3A (15 W) runs a Pi 5 with a small screen and a keyboard. The Pi limits its USB ports to 600 mA and shows a power warning. For the full 1.6A USB budget the bank must offer the optional 5V 5A profile, which many do not.
Why does my Pi 5 say the power supply is not capable of 5A?
The Pi 5 did not get a 5V 5A offer from the supply during startup, so it assumed 3A and limited USB devices to 600 mA. It still runs. Use the official 27 W supply or a 5V 5A source if you need power-hungry USB devices.
Should I set usb_max_current_enable=1?
Only when your supply really delivers 5A but cannot negotiate it, such as some battery boards. The setting only lifts the Pi's USB limit to 1.6A; it does not make a weak supply stronger, and on a 3A source it can cause undervoltage.
How long will a Raspberry Pi 5 last on battery?
Roughly 3 to 14 hours of light use with a small screen, depending on the battery: about 4 hours on two 18650 cells, 7 hours on a 10,000 mAh bank, and 13 or more on four 21700 cells. Under heavy load expect about 40 percent of that.
What is the best UPS HAT for a Raspberry Pi 5?
Pick one rated 5V 5A for the Pi 5. The Geekworm X1200 ($48) is compact with two 18650 cells; the Waveshare UPS HAT (E) ($32.99) takes four 21700 cells for the longest runtime; the SunFounder PiPower 5 ($34.99) comes with its pack and a web dashboard. Prices as of October 2026.
Are 18650 cells safer than a LiPo for a cyberdeck?
Cylindrical 18650 cells have a steel can that resists deforming, while LiPo pouches can swell and puncture. Either is safe with a proper protection circuit, a matched charger and good cells. Raspberry Pi calls a power bank the safer option than a LiPo.
Does a Raspberry Pi 5 use power when it is shut down?
Yes, about 1 to 1.4 W by default. Setting POWER_OFF_ON_HALT=1 in the bootloader configuration drops it to about 0.01 W.
Build ours: the free CJ-9 files
Want a Pi 5 deck to put all this into? You can print ours. CJ-9 is a 3D printed Raspberry Pi 5 cyberdeck built around a 4.3 inch DSI screen, with an NVMe SSD inside and a stand that tilts it back 25 degrees. The STLs, the Bambu Studio project and the full assembly guide are free: enter your email below and the download buttons appear right away. The full story is in the CJ-9 build post.
Full disclosure: CJ-9 is ours, and so is everything else on this site. We are a small shop that makes sci-fi objects in small batches, including GLIDE, a pocket synthesizer that runs 7 to 10 hours on its built-in battery.
Free download
Get the CJ-9 files
Enter your email and the download buttons appear right here. New subscribers get a copy in their inbox too.
Useful? Pass it on
← Browse all guides


