A battery includes a positive electrode having a current collector and a
first active material and a negative electrode having a current collector
and a second active material. The battery also includes an auxiliary
electrode having a current collector and a third active material. The
auxiliary electrode is configured for selective electrical connection to
one of the positive electrode and the negative electrode. The first
active material, second active material, and third active material are
configured to allow doping and undoping of lithium ions. The third active
material exhibits charging and discharging capacity below a corrosion
potential of the current collector of the negative electrode and above a
decomposition potential of the first active material.