Fixing Raspberry Pi power and heat problems: under-voltage warnings and cooling
TUREFF• •0
Random crashes, a corrupted microSD card, USB drives disconnecting, a lightning-bolt icon in the corner, or a Pi that gets slower the longer it runs: most of these come down to two things, power and heat. Both are easy to diagnose and usually cheap to fix.
Why power matters so much
A Raspberry Pi needs a steady supply that stays at the right voltage even when the processor and USB devices suddenly draw more current. A supply that is fine most of the time but sags under load causes the hardest faults to track down, because they look like software bugs.
Recent models are more demanding. The Raspberry Pi 5, for instance, is designed for a USB-C supply that can provide 5 V at 5 A, which is what its official 27 W supply offers. With a weaker supply it still runs, but it limits the current available to USB devices, so an external drive may fail to start or drop out under load.
The safe general advice: use the official power supply for your model, or one that clearly meets the requirements listed in the official documentation. A phone charger is not the same thing; many cannot deliver the right voltage and current for a Pi under load.
Recognising under-voltage
- A lightning-bolt icon on screen or a low-voltage notification on the desktop.
- Under-voltage warnings in the system log.
- Crashes, freezes or reboots under heavy load.
- USB devices disconnecting.
- Files or the microSD card becoming corrupted.
You can ask the Pi directly. In a terminal:
vcgencmd get_throttled
A result of throttled=0x0 means no problems have been detected since boot. Any other value means a flag is set; the official documentation explains each bit, covering under-voltage, frequency capping and throttling, both now and since boot.
Fixing power problems
- Switch to the official supply for your model, or one that meets its stated requirements.
- Replace the cable. Thin or long USB cables lose voltage; avoid extension leads on the low-voltage side.
- Power-hungry USB devices, such as hard drives, should use a powered USB hub or their own supply.
- Remove add-on boards one at a time to see whether one is drawing too much.
- Always shut down properly before unplugging.
Never try to fix power problems by feeding power through the GPIO pins without a proper, regulated design; it bypasses protection on the board.
Heat and throttling
The Pi protects itself from overheating by slowing its processor down, which is called thermal throttling. It is not dangerous, but your projects run slower, and a busy Pi in a closed case can throttle quickly.
Check the temperature with:
vcgencmd measure_temp
Signs of heat trouble: performance drops after a few minutes of heavy work, a thermometer icon on screen, or get_throttled reporting throttling. The exact temperature thresholds vary by model and are given in the official documentation.
Cooling options
- Passive heatsinks: small metal blocks stuck to the main chips. Fine for light use.
- Active coolers and fans: needed for heavy, sustained loads on recent models. The Raspberry Pi 5 has a dedicated fan connector, and an official active cooler is available for it.
- Fan cases: protect and cool at once. Choose one designed for your exact model.
- Placement: keep the Pi out of direct sun, away from other hot equipment, and with space for air to flow. A sealed box in a cupboard will throttle.
Under-voltage and heat can feed each other: a struggling supply slows the processor, a slower fan cools less, and the cycle repeats. Fix power first, then cooling.
Protecting your data
Power cuts and brownouts are the usual cause of corrupted cards. Back up the card once a setup works, keep important data on a separate drive, and for an always-on server consider booting from a USB SSD on models that support it.
Seeing a value from get_throttled you cannot decode, or a Pi that still crashes after a new supply? Post the details in the comments and we will try to work it out together.