Rpi 5 power solutions

Using USB C extension cable drops the input voltage minorly which causes lots of warnings on screen and occasional shutdowns and power resets. Since we measured this drop to be very minor (0.05-0.2v) which shouldn’t cause damage to the board and the warnings are for extra safety but they affect the user experience, we should force stop warnings and shutdowns. Here are the steps

1. Disable Under-Voltage Warnings

Open /boot/firmware/config.txt and add:

avoid_warnings=2

This will stop the under-voltage warnings and prevent the Pi from throttling performance.

2. Prevent CPU Throttling

In the same file (/boot/firmware/config.txt), add:

force_turbo=1

This forces the CPU to run at full speed even during voltage drops, reducing the chance of resets.

3. Disable Automatic Reboots on Voltage Issues

Install and configure the watchdog service:

sudo apt-get install watchdog sudo systemctl enable watchdog sudo systemctl start watchdog

Edit /etc/watchdog.conf and find this line:

Change it to:

4. Disable Kernel Panic Reboots

In /etc/sysctl.conf, add:

This prevents the system from automatically rebooting if a kernel panic occurs due to voltage issues.