This paper deals with the optimal scheduling of public transport e-buses by considering charging rate, discharging rate of batteries, rest time between consecutive trips, and distance between charging stations & estimation of the minimum required charging time between consecutive trips considering given constraints of the journey, also explains how does it help in the optimized scheduling of electric buses.