Cyber power UPS with surge protection