BMS thermal management