Muni in San Francisco, TransLink in Vancouver, and Beijing, among others, have bought trolleybuses equipped with batteries to allow them to operate fairly long distances away from the wires. Supercapacitors can be also used to move buses short distances.
“to operate fairly long distances away from the wires”
Both of you that replied are referring to “trolleybuses” whose main power source is overhead wires.
My original thought was that certain types of fully battery powered commercial vehicles should be selling like hotcakes but aren’t.
“... have bought trolleybuses equipped with batteries to allow them to operate fairly long distances away from the wires.”
Batteries in the trollybuses. That means they had DC motors and that means the overhead lines were DC. Since the power grid is AC that means the trollybus lines were powered either by rectified AC or they had their own DC generators. ... just a piece of trivia.