Looks like a circuit breaker that was used in the older battery chargers. In case you got the charger wires crossed, it would then reset once the conditions (proper polarity) was correct. Eventually it would fail and your charger stopped working. At least that’s my opinion, I maybe wrong.