“current flows through the circuit into the battery.”
Isn’t that saying that some of the momentum energy charges the batteries?
Perpetual motion doesn't happen in the real world. Energy conversion will never occur without waste. Anything that results in heat dissipation removes the energy from the system. It is no longer available for transfer back to the battery.