An uninterruptible power supply (UPS) is a device that allows a computer to keep running for at least a short time when the primary power source is lost. UPS devices also provide protection from power surges. A UPS contains a battery that "kicks in" when the device senses a loss of power from the primary source.