Sudden change of positive and negative poles of lead-acid batteries