Small powersource based on motion needed!

After some thought, an alternative came to me. Why don't you just use the bike chain to rotate a small generator/alternator?