Oxygen fraction in a breathing gas is measured by electro-galvanic oxygen sensors. They may be used stand-alone, for example to determine the proportion of oxygen in a nitrox mixture used in scuba diving,[20] or as part of feedback loop which maintains a constant partial pressure of oxygen in a rebreather.[21]