Cooling systems are equipped with thermal safety devices that protect against excess current (high amperage). It is connected in series with the circuit that powers the compressor.
Internally they consist of two types of metals with different coefficients of thermal expansion. Heating caused by an excess of amperage will cause a larger expansion in one of the metals, opening the motocompressor feed circuit.