Ah I mean there's a switch that allows them to become fully electric, in which case they do need charging ;)
BTW Regenerative breaking does not give all the energy back (friction, 2nd law), but I imagine the rest of the energy can be produced when the electricity is not being used.