Automatic CPAP machines can detect a collapse of the airway by measuring resistance (drops in respiratory effort), and it reacts by increasing the pressure as you need it during the night. The device will also auto-set lower pressures and adjust downwards if necessary to maintain a comfortable level of therapy.