Thermostatic lithium-ion battery