The Amazon Basics UPS is a cheap safeguard that buys you enough time to save work and send some emails when you lose power.
Be prepared for unexpected power failures and off-the-grid camping trips.
If you don’t need anything more complicated than backup for your fridge, this is it.