Why Does Raspberry Pi Show a Lightning Bolt?
If you see a flashing or solid yellow lightning bolt icon in the top-right corner of your Raspberry Pi screen, your board is suffering from under-voltage. This diagnostic warning indicates that the Pi is receiving less than the required 4.63V to 4.7V, which throttles performance and risking system instability. This article breaks down why this warning appears, the potential risks it poses to your hardware, and the direct steps you can take to fix it.
Understanding the Under-Voltage Warning
The Raspberry Pi foundation implemented the lightning bolt icon as a built-in safety monitor. For standard models like the Raspberry Pi 3 or 4, the system expects a stable 5V power supply. If the voltage drops below a critical threshold (typically 4.63V), the operating system triggers the lightning bolt overlay and writes an under-voltage warning to the system logs. When this happens, the Pi automatically reduces its processor clock speed (throttling) to decrease power consumption and prevent a total system crash.
Common Causes of the Lightning Bolt Icon
- Inadequate Power Supply: Standard phone chargers are often the culprit. While they might claim to output 5V, they frequently drop voltage under a heavy processing load because they are designed for charging batteries, not powering a continuous computer workload.
- Poor Quality USB Cables: Thin or excessively long USB cables have high internal resistance. This resistance causes a voltage drop between the power source and the Pi, meaning 5V might leave the plug but only 4.5V reaches the board.
- Power-Hungry Peripherals: Connecting multiple USB devices directly to the Pi—such as external hard drives, webcams, or gaming controllers—draws more current than the board can distribute, dragging the overall voltage down.
Risks of Ignoring the Warning
Operating a Raspberry Pi while it continuously displays the lightning bolt icon can lead to several frustrating issues. Beyond the immediate loss of performance due to CPU throttling, sudden voltage drops can cause the Pi to freeze or randomly reboot. Most critically, unexpected power drops during write operations can corrupt your microSD card, potentially ruining your operating system and causing total data loss.
How to Fix the Issue
Resolving the under-voltage issue generally requires upgrading your power delivery setup through a few straightforward steps:
- Use the Official Raspberry Pi Power Supply: The easiest fix is to purchase the official power supply designed for your specific Pi model. The official Raspberry Pi 4 power supply, for example, outputs 5.1V instead of a flat 5V to intentionally compensate for any minor voltage drops.
- Switch to a Shorter, Thicker Cable: If you are using a separate power adapter and USB cable, switch to a shorter cable with lower gauge wires (thicker internal copper) to minimize resistance.
- Utilize a Powered USB Hub: If your project requires multiple external peripherals, plug them into an externally powered USB hub rather than directly into the Raspberry Pi. This shifts the electrical load off the Pi’s motherboard.