I was doing a test with my app which involves a location sensor and google maps which places a marker of where the user is every ~60 seconds, After about 10 minutes the app stopped placing markers, I made sure that the data source that I was using was empty before testing and made sure that the screen was always on.
How should I fix this so that the app works for at least an hour?