Uninterruptible power supply can be connected to an external battery