Question: ac is getting off automatically?
Answer: Oh, the dirty air filter. It's the cause of most AC malfunctions and understandably so. A dirty filter restricts airflow and restricted airflow causes a whole slew of problems, including a frozen evaporator coil. This can cause the unit to malfunction by turning on and off in short bursts.