UPS HAT for Raspberry Pi, 5V Uninterruptible Power Supply,
When the voltage dips too low, it is possible to save files properly and then shutdown the system by software, to avoid any data loss. * Resources for different product may vary, please check