An anesthesia system has a unit for measuring oxygen concentration delivered to a patient, a unit for sending an alarm to an operator if the measured oxygen concentration is below a first threshold value, and a unit for automatically increasing a setting of oxygen in a fresh gas setting, so that the oxygen concentration delivered to a patient is increased, if the measured oxygen concentration is below a second threshold value. The system allows for increased safety or a lowered fresh gas flow with a maintained safety level.