Fix battery switch