{"json_modified": "2016-05-04T01:20:47.164049", "uuid": "274e45c9-4838-4e8b-921c-9c9de4914d0f", "title": "Keeping the geolocation on when the application is invisible", "url": "/en-US/docs/Mozilla/B2G_OS/API/Wake_Lock_API/Keeping_the_geolocation_on_when_the_application_is_invisible", "tags": ["Non-Standard", "Guide", "Firefox OS", "Non-standard", "guide", "Web", "Wake Lock API"], "translations": [], "modified": "2016-05-04T01:20:47", "label": "Keeping the geolocation on when the application is invisible", "localization_tags": [], "locale": "en-US", "id": 172767, "last_edit": "2016-05-04T01:03:58", "summary": "A Firefox OS application may want to keep the Geolocation service running even when invisible. This can be done by request a MozWakeLock and using with watchPosition() when you want to keep your invisible application continuing to use GPS.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Example", "title": "Example"}, {"id": "See_also", "title": "See also"}], "slug": "Mozilla/B2G_OS/API/Wake_Lock_API/Keeping_the_geolocation_on_when_the_application_is_invisible", "review_tags": []}