you can look into the alternator, but it probably needs a relay control module,, thats whats responsible for raising engine rpm under higher loads like having the ac or heat on its also possible that if you have it set on defrost wich kicks on the ac compressor to dry the air that the compressor might be going out as well