Lithium-ion battery compression