I think if they position the battery with a front dynamo-powered lamp on the fork crown, they could solve a lot of issues with cabling, dirt and power supply.
This might have application for a modern bike hire fleet, being able to disable bikes on the rack for maintenance.
It is also the basis of a fully automatic transmission, maybe linked to a cadence meter.