The ECM receives information about the ON/OFF status of the A/C from the combination meter.
The ECM uses the information to control the engine (idle up, etc.).