I have been working on a battery back up for my raspberry. The idea is classic: connect power bank to wall outlet and raspberry to power bank output. It works well with only battery power. But when the power bank is plugged to the wall at the same time it's supplying to raspberry, I get the "low power" lightning bolt signal on the right upper side of the screen, and even worse, if I unplug the power bank from the wall, my raspberry simply shuts down.... Any ideas on how to prevent this? I would like it work as a UPS where in case of a blackout, the power bank prevents the raspberry from shutting down.

  • Do you have access to a voltmeter/DVM? If so, what voltages are you reading under plugged-in and unplugged conditions. Also - more info on the battery pack itself would help your cause: is it a commercial unit, DIY, what? If DIY, maybe a schematic? – Seamus Mar 20 at 13:45
  • Hi Seamus, thank you for answer. Yes, I measured the tensions with the battery plugged and unplugged, and it does not change, fixed at 5.1 V. The powerbank I'm using is this one amazon.fr/gp/product/B01NBRGY7N/… The only difference is that I connected an output to the cells to use this to monitor the battery percentage, following this great tutorial: raspi.tv/2013/… But I didn't break the battery or anything, and the output tension is stable – Frederick van Lingen Mar 21 at 14:15
  • I can see no reason that this would not work as advertised. Without studying the schematics in detail, it seems rational, and your plugged/unplugged measurement would seem to confirm that you've got it wired correctly. But the fact is that when you unplug, the Pi shuts down, and clearly that means something is amiss :P You will need to troubleshoot to find the cause. 1) Was your volt. measurement made with the Pi connected to the battery? 2) If you disconnect your monitor circuitry, does the Pi still shut down? – Seamus Mar 21 at 16:36
  • 1) I'll tell you that tonight, I think that this information will be useful. 2) I already tried this using VNC viewer, it still shuts down. The problem however is that the lighning bolt symbol is only shown on monitor screens, not through a wireless visualisation. But it still shuts down so... – Frederick van Lingen Mar 26 at 9:47
  • A UPS is designed to handle this kind of thing, but a power bank is not. A UPS has a certain amount of switching time when the power is cut and it designed to make sure that time is small enough. – T. M. Mar 28 at 8:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.