Power on start up

Here’s a previous discussion about “UPSs” for the Pi
There’s plenty of good options available now. The main thing to look out for is that it will supply power from the mains adapter when available and flip to the battery when it is not available. A lot of similar adapters from eBay etc. will either charge the battery, or supply power, but not both.