You could hook it up with a dyno that attaches to the bottom bracket with the gps sitting in the down tube. Cycling would charge it. Also checkout lock8.me . They made a smart lock instead which makes a lot of sense.