It may be coincidence or the cause. To find out, start by disconnecting the battery at night and see if it goes down. When you turn the key off, there shouldn't be any power going to the HVAC anyway.