While running raspberry Pi 2 for long, there often happen to be some power fluctuations that cause only red light to be turned on and the system not working until I turn off and on the power supply to Pi in order to make it work. I was planning to deploy my Pi at a remote location but if such a behavior continues, I would loose connection to Pi as there is some power trip. Is there some solution to either restart the system in such case or something better?

  • Any machine will fail if you give it an erratic power supply. Surely the solution is to power the Pi properly?
    – joan
    Nov 1, 2015 at 12:06
  • I agree, but I want it to restart automatically in that case instead of remaining on standby as the fluctuation is just for a second every few hours.
    – Ric
    Nov 1, 2015 at 12:25

1 Answer 1


I'll go for a meta answer here, as previous questions already addressed the issue.

Prevent brown out due to power outages

If that remote location shows power fluctuations one approach would be to back up the power supply aka uninterruptible power supply - UPS. Luckily the Pi draws only little power and if only a short time span is to be brigded quite a small UPS with limited battery capacity should do the trick.


Keep alive measures

The remote connection and access to the Pi make it desirable to make sure an locked up or browned out Pi is rebooted. That's called watchdog. The idea is that the Pi is set up to regularly signal the watchdog that it is still alive. If the signal stops, the watchdog reboots the Pi. There is an integrated watchdog but external solutions are also possible.

There are of course situations (e.g. corrupted filesystem) that could prevent the Pi boot up properly no matter what kind of watchdog circuitry is implemented (barring a fail-safe file system of some kind but that's not something the out-of-the-box Pi comes with).


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.