Lithium battery with protection