Power was fully restored to UW Hospital Saturday evening after a malfunction to one of the building’s electrical transformers caused the emergency department to divert patients for more than five hours while power to “critical” infrastructure and equipment ran on a backup generator.