Transfer switches and backup electricity