There are lots of electric trains without battery and some with battery. All of Europe is running lots of electric trains without battery.
Here in Germany on some tracks some trains also run on battery. As a test case we had such a train for some month to replace a diesel train. They just had to return the test train.
If I understand correctly those are just somewhat cheaper per unit and some of them do run on lines that are not electrified. So it happens that a diesel train runs entirely (or often partially) on electrified lines like in the photo I gave.
I said "diesel" as a mental shortcut for diesel and diesel-electric, but certainly not for electro-diesel.
While every other country comes to that conclusion, somehow in the US we keep deciding that running wires is too expensive and we can save money with hydrogen fuel cells or fast charging batteries.
Probably because the cost numbers for systems that have never been demonstrated can get away with magical optimism, while existing technologies are constrained by historical data.
There should be pretty reliable data on electrification costs for a freight railway and how the operational costs add up. If it were a substantial business advantage over diesel-electric, why aren't the privately owned rail companies doing it already?
Rio Tinto purchased the four 7MWh FLXdrive battery-electric locomotives from Wabtec Corporation with production due to commence in the United States in 2023 ahead of initial trials in the Pilbara in early 2024.
The locomotives, used to carry ore from the company’s mines to its ports, will be recharged at purpose-built charging stations at the port or mine. They will also be capable of generating additional energy while in transit through a regenerative braking system which takes energy from the train and uses it to recharge the onboard batteries.