This might be fun to hack on. The main question is battery usage as if you need to use reasonably accurate positioning then you need to keep GPS polling even when the phone is "resting".