Total energy of electron is stated as E=−8(nhϵ0)2Z2me4, potential energy P=−4(nhϵ0)2Z2me4 and kinetic energy is given by K=8(nhϵ0)2Z2me4.
So, as electron makes transition to higher level, total energy and potential energy increases due to the negative sign while the kinetic energy of electron decreases.