A power system includes a battery and a controller. The controller inhibits charge of the battery according to voltage or current values sensed before and after contactors electrically connected to the battery are commanded to open and indicating that a leakage resistance associated with one of the contactors increases after the one of contactors is commanded to open, and a duration of a continuous voltage drop across another of the contactors after the another of the contactors is commanded to open exceeds a threshold.