If you have a charged ebike, it ought to be easy to charge your phone.
There are still other problems with that approach. VanMoof currently lets you unlock your phone with your bike, rather than requiring a constant connection, which seems like the right balance.