An untreated AlGaN/GaN HEMT is normally-on (D-mode): the 2DEG already conducts with no gate voltage applied, which is undesirable in power electronics for safety reasons (fail-safe behavior if gate drive is lost). True E-mode devices (normally-off) are achieved, for example, with a p-GaN gate layer that locally depletes the 2DEG under the gate at rest. Physically, this relies on a shift of the band edge: the ionized acceptors (usually magnesium) in the p-GaN layer create a built-in electric field that pushes the conduction band edge at the AlGaN/GaN interface directly beneath the gate above the Fermi level – at rest, no free electrons accumulate there, so the 2DEG is locally interrupted. Outside the gate, where there is no p-GaN layer, the band edge stays below the Fermi level and the channel continues to exist unimpeded. Only a positive gate voltage above the threshold voltage pushes the band edge locally back below the Fermi level and restores the channel. A common alternative is the cascode configuration: a normally-on GaN HEMT in series with a low-voltage Si MOSFET, which imposes normally-off behavior on the combined device from the outside.