A method and system for controlling an engine in order to maintain a comfortable
cabin temperature within a vehicle that is equipped with an engine, a battery and
a heating/cooling apparatus including determining an acceptable range of cabin
temperatures, monitoring cabin and outside air temperatures, controlling automatic
starting of the vehicle engine when both temperatures are outside of the acceptable
range and running the engine only as is minimally necessary to maintain the cabin
temperature within the acceptable range.