riggtravis / BodgecycleComputer

A bodged together bicycle computer for hackers
MIT License
2 stars 1 forks source link

Battery Usage needs optimized #2

Closed riggtravis closed 7 years ago

riggtravis commented 7 years ago

I am logging data every second as well as polling the GPS module a lot to find out when there are enough satellites to start logging. This needs to be remedied so that the platform can be used longer and has more stable behavior.

riggtravis commented 7 years ago

Adafruit has a GPS board. They claim that their shield can save battery over other models. This board could possibly be usable with the code I've written. I'll have to look into it.

riggtravis commented 7 years ago

The latest commit to branch Bugfix includes code to scale how frequently requests are made to the GPS sensor. This should reduce battery usage.

riggtravis commented 7 years ago

This has been greatly improved by introducing log scaling. I would like log scaling to be more effective though so I'm going to try to continue to increase the aggressiveness of log scaling. Until then I consider this issue to be essentially solved for release 1.0.0.1. A new release, 1.0.0.2 will be created increasing the aggressiveness of log scaling.