The charge profile of an AlGaN/GaN HEMT is usually modelled with six sheet charges as shown in the figure, polarization charge pair of AlGaN and GaN, and ionized surface donor states and 2DEG.
According to this model, electric field inside the both AlGaN and GaN will be constant. Since electric field is a negative gradient of potential (i.e. V = -\int E \dot dx) and conduction band is -e*V where e is an electric charge, I would expect the band diagram to be a straight line with some slope.
This is indeed the case for the band diagram corresponding to the AlGaN region, but in the GaN region, we see a band bending near the surface and flat conduction band further away from the interface. How do I understand the band diagram of AlGaN/GaN HEMT in terms of Poisson Equation?