Electrical system protection