i was wondering how the battery stays charged, i know on cars it the alternater or generator but on bikes not sure?