UPS = Uninterruptible power supply
Clever unit that checks the power being fed to the device from your mains, and has a battery backup that will keep the devices powered in event of mains power failure. Small Battery should be enough for a Spanish Blackout.
Peace