Thermal management for more efficient electric cars