The role of the battery heating and cooling system