Device-charging Bicycle

This is an idea for a Bicycle that can charge devices, like mobile phones.

How it works
A small device is connected by the wheels of the bicycle. Once the bike's wheels start spinning, the device generates electric energy that allows the bike's rider to charge electronic devices.