How to pressurize lithium batteries