A system and method for controlling air flow through a passenger cabin and battery pack of a vehicle having a battery module is disclosed. A HVAC controller communicates with a battery pack controller to assure that air flow from the passenger cabin through the battery pack, and either out to atmosphere or returned to the passenger cabin, is coordinated to obtain desirable passenger cabin heating/cooling and battery cooling.