The battery would have enough capacity to do maybe a couple laps. So, you could slow down in the "charging section" to fully charge, or you could go faster or pass the slow cars by bypassing the charging section altogether, but then you'd have to budget your energy more carefully and maybe have to spend longer charging next lap.
It'd be interesting to set up a track like this for racing radio-controlled cars.