I want to use a power bank as UPS for my Raspberry Pi but it doesn't has pass-through power, so whenever mains power gets connected or disconnected, the power bank cuts off power supply to the Pi for a second, which resets it and has corrupted the filesystem multiple times.
Will attaching a 5.5v 1F+ super cap parallel to USB power lines on the Pi keep it running for the second or two it takes the power bank to reset and is it safe?
This does assume that the power bank can be charged and dischaged at the same time. I don't know that for sure. Is there a way to find out without opening it?