This guide will explain some of the ways you can deal with low voltage or under voltage warnings on your Raspberry Pi.
When starting out with your Raspberry Pi there is a chance that you will run into a low voltage warning. This warning is letting you know that your Raspberry Pi is suffering from undervoltage and may not operate as intended.
Simply put, the Pi is not being delivered enough power. This lack of power means the CPU and other components can both underperform and perform erratically.
Typically you will only run into these issues when using a non-official power supply with your Raspberry Pi. This is because the Pi’s have fairly tight power requirements that most USB chargers will not satisfy.
Newer Pi’s such as the Pi 4 has made these requirements even stricter. Just because a power supply worked with an older Pi, doesn’t mean you won’t run into under-voltage errors with a new Raspberry Pi.
Checking if your Raspberry Pi is suffering from Low Voltage
There are a few ways that your Raspberry Pi will attempt to warn you about low voltage issues. Both the desktop and terminal versions of Raspberry Pi OS have built-in warnings about under voltage.
Below we will quickly run through various versions of the warning that indicate an issue with low voltage.
Looking for the Undervoltage Warning in Raspberry Pi OS Desktop
Raspberry Pi OS shows you a visual warning when the voltage supplied to the device is low.
Depending on what version of the operating system that you are using, this error may appear differently.
Original Under-Voltage Warning
On older versions of Raspberry Pi OS (Raspbian), the undervoltage issue was indicated by the presence of a yellow thunderbolt in the top-right corner of your screen.
If you see this thunderbolt appear on your screen, you will need to take steps to improve the supply of power to your Pi.
New Low Voltage Warning
This low voltage warning has been significantly improved with recent versions of Raspberry Pi OS. It now clearly lets you know what exactly is happening rather than using a graphical symbol.
This low voltage warning will appear in the top-right corner of your desktop and display text indicating that you should check your Raspberry Pi’s power supply.
The Low Voltage Warning within the Terminal
There are a couple of ways to check to see whether your Raspberry Pi is running into low voltage issues within the terminal.
Whenever your Raspberry Pi detects under-voltage, it will print a message to the terminal. This message will appear, a bit like what we have below.
Under-voltage detected! (0x00050005)
If you don’t want to wait around for this message to appear, let us show you a couple of methods you can use to check this manually.
Using the vcgenmcd Command
One of the easiest ways to check for low voltage is by utilizing the “
vgencmd” command on your Raspberry Pi.
Using this command, we can retrieve various information from the hardware itself. One of these things is the status of the CPU/GPU.
1. Using the following command on your Pi, you can check whether it’s processor has been throttled.
2. If your Raspberry Pi is experiencing throttling due to under-voltage, you will see the following message.
This number basically tells that your Raspberry Pi has detected under-voltage and that it is currently throttling the processor. It also tells us that the CPU has previously had an under-voltage event that throttled the processor.
If you want a better understanding of how this value is calculated you can reference our table below.
|1||2||ARM frequency has been caped|
|3||8||Soft temperature limit is active|
|16||1000||Under-voltage has occurred|
|17||2000||ARM frequency capping has occurred|
|18||4000||Throttling has occurred|
|19||8000||Soft temperature limit has occurred|
Checking the Kernel Message Buffer
It is also possible to check the kernel message buffer for messages about your Raspberry Pi experiencing low voltage.
Every time the kernel polls the hardware and detects an under-voltage event, it will write a message to this buffer.
1. To check this message buffer, you will need to use the “
dmesg” command on your Raspberry Pi.
This command will output the content of the kernel message buffer, which will include any messages
2. After using this command, you will get a large amount of text. You can scroll through this text, looking for the following message.
If you see this message, you should look into replacing the power supply for your Raspberry Pi.
3. Alternatively, you can use the following command to use “
grep” to look through the message buffer instead.
dmesg | grep -iC 3 "under-voltage detected"
With this command, we are using a pipe (
|) to pass the result of
dmesg to the
grep tool will then pass through the text looking for the specified text, which in our case is “
By using the “
-i” option, we are telling that it should ignore the case of any letters in the message when making a match.
Additionally, we use the “
-C 3” option to print three lines before and after any matches. This option helps find anything else that may have occurred before and after the under-voltage event.
The Solution to the Low Voltage Warning on the Raspberry Pi
Low voltage warnings are typically caused by an inadequate power supply connected to your Raspberry Pi. The easiest solution to this is to buy and replace the existing power supply.
Purchase an Official Power Supply
The best power supplies for the Pi are always going to be the official ones. These are developed by the Raspberry Pi foundation and are tested thoroughly to ensure they easily satisfy the power requirements.
When using a Raspberry Pi, we recommend that you always stick with the official power supplies as they significantly reduce the chances of your running into issues.
You can find out where to purchase power supplies for the Raspberry Pi 1,2,3, and the Raspberry Pi 4 from the official website. Any retailer referenced on the Pi website should provide you a verified official product.
Be careful when using retailers not referenced on the official website, as there have been several attempts to create cheap knock-offs of the official products.
Ensure Your Alternate Power Supply Satisfies the Power Requirements
If you want to stick with using your alternative power supply, you will need to ensure that, it at the very least, satisfies the power requirements of the Raspberry Pi.
Failing to meet these requirements will run you into the low voltage warning.
One thing to note is that the power supply must provide the voltage at a stable rate. Unfortunately, some cheaper USB chargers have poor voltage regulation, so it isn’t guaranteed to provide the required voltage.
If you are sure your power supply satisfies the power requirements of your Raspberry Pi, then you can try replacing the cable you are using. Sometimes cables can cause a drop in the delivered voltage causing it to fall into the realm of low voltage.
To avoid the hassle of dealing with subpar power supplies, we highly recommend you stick with the official power supply.
Raspberry Pi 1, 2, 3 Power Requirements
For the original three Raspberry Pi’s, we will only focus on the power requirements for the Pi 3B+ as it will more than satisfy the requirements for the older Pi’s.
The power supply you are using must provide 5V and 2.5A to satisfy the voltage and amperage requirement of the Raspberry Pi 3B+.
Some of the older Raspberry Pi’s can utilize less power. However, it’s safer to stick with a power supply that satisfies the requirements above.
Raspberry Pi 4 Power Requirements
The Raspberry Pi 4 has the highest power requirements due to its more powerful processor and the inclusion of USB 3.0 ports.
When searching for a power supply for your Pi 4, make sure it provides 5.1V and 3.0A.
If you don’t plan on using the USB ports on your Pi 4, you can get away with a power supply that only provides 5.1V and 2.5A. However, make sure that this is a good quality power supply as it is getting closer to the device’s minimum requirements.
Disabling the Low Voltage Warning
It is also possible to disable the low voltage warning on your Raspberry Pi. However, this is not recommended at all. You will likely run into various issues with your device when using an inadequate power supply.
If you want to ignore this error and disable the under-voltage warning, you can follow the steps below.
These steps will focus on your Raspberry Pi, but you can complete these steps with the SD card inserted into your computer.
1. To disable the low voltage warning, we will need to modify the boot config file.
You can begin modifying this file by running the following command on your device.
sudo nano /boot/config.txt
This config file is available on the boot partition when you plug the SD Card on your Raspberry Pi.
2. Within this file, you will need to add the following line to the bottom of the file. By setting this value to
1, we are telling it to disable all warning overlays.
Please note this means you will no longer receive any more warnings about your Pi not receiving enough voltage.
3. Once you have added this line, save the file by pressing CTRL + X, then Y, followed by the ENTER key.
4. We also need to remove the “battery monitor” plugin. This plugin is responsible for showing the notification you may see in the top-right corner of your screen.
You can remove this LXPanel plugin by using the following command on your device.
sudo apt remove lxplug-ptbatt
5. For this change to take effect, you will need to restart your Raspberry Pi.
You can restart by using the following command in the terminal.
Hopefully, this guide will give you a good idea of checking if your Raspberry Pi is experiencing low voltage.
Low voltage to your Raspberry Pi can cause numerous issues besides just the device’s performance is limited. If you run into problems such as random and unexplained crashes, you should consider this as a potential source of your issues.
If you have any issues with this guide, please feel free to leave a comment below.