Some battery busses are able to recharge on their routes at special bus stops with overhead charging, but that’s additional infrastructure you need to build. In my mind trolleybuses are the gold standard still in that you get zero tailpipe emissions AND don’t need a battery