Li-ion battery with overcharge protection