Recently I came to know about the Bionx bike, manufactured in Canada. The charging of the battery in this is done while riding, or going downhill. I would like to know how is it done, I have some idea but the question harrassing me is they also charge the battery while braking, how is this done, can any one please explain to me? I am a student of mechanical engineering working on a bike project which is still on the paper, as the project is still not completely satisfactory.