heater control method