The positive electrode which has the higher potential has the lower Fermi-level energy. Its job is to accept electrons from the negative electrodes during the discharge cycle. The negative electrode has a higher Fermi-level energy and a lower potential. Note that in the plot, we have inverted the energy and the potential scales.