Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Energy efficient GPS tracking

I am making an application that requires user to send their GPS location to the server. I need it to be done for say every 10 seconds, which is heavy on the energy budget.

Is there any open source implementation, where I can take GPS location once and then use accelerometer and compass to track the user location?

Or anything else which is energy efficient?

like image 990
Prashant Tiwari Avatar asked Jun 06 '12 19:06

Prashant Tiwari


2 Answers

Here is a great opensource location tracking library, its even been recommended by Google.

like image 159
HandlerExploit Avatar answered Nov 06 '22 13:11

HandlerExploit


I would say build your own so you can get exactly what you want and avoid running extra code since you are concerned about the energy usage. I would do exactly what you suggested and use the GPS sparingly, maybe every 30 seconds or every minute to get a reference for your calculation and then use the compass and accelerometer in the interim.

like image 33
Jis Ben Avatar answered Nov 06 '22 13:11

Jis Ben