Li-ion battery with protection