GPS turned off when app in background

You might want to check the locationservice extension, which already has been mentioned in this thread

Taifun