You can buy multiple socket outlets with integrated battery. Cost $50-$100 battery will last easily for several hours.
Discussion
One example https://www.amazon.com/Liebert-Protection-Three-Year-Warranty-PST5-850MT120/dp/B07CBG3ZPB
That would be perfect for a small power outage! Thank you Neo! 🫂