yes. classic symptom. Most likely the battery was disconnected for more than 25 minutes.
it caused by the computer losing some learned parameters and the throttle body being dirty.
the result is the engine runs fine with no AC. turn on AC and it idles from normal to 300 up to 1000 back to 300 etc... many times it shuts off...
the solution is about $4 bottle of throttle body cleaner and about 1 hr of your time.
theres a HOW TO around here....
2013 Equinox-3.6L DI- Best MPG 35
2010 Traverse-3.6L DI Best MPG 31.3
2003 Trailblazer LS 165,000 miles- Best MPG 24