Powerbank/UPS for power dips

The easy way is to choose a “NAS UPS”.