Electrons flow in Li-ion Battery
There does need to be a closed loop for electrons to flow, but it doesn't need to be inside the battery.
The electrons flow through the external circuit, &quot;forced&quot; by the battery.  The current flow inside the battery is in the form of Li+ ions.