microg / microg/GmsCore

[feature request] Location service after phone wakeup

Open
#469 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

As far as I understood, MicroG's localisation will only happen when an app is calling for it. In general, for power saving, this is a good thing.

When you're using a public transport companion a lot (such as I do - my favourite is "Öffi" bei Andreas Schildbach - blessed be his name! ((-:), this approach makes, that quite several times I have to wait a considerable time till localisation is finished.

For such users as me - wouldn't it be a nice idea to have

  • an option "localize once immediately after phone wakes up"
  • another option "renew localisation every xxx minutes"

which could be set separately?

I'd be grateful if my phone already had finished the localisation job by the moment I launched the "departures at nearest bus stops" feature of Öffi, and I'd be happy to pay for it with some more battery drain. What do you fellows think?

Cheers,
Wolf

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Begin by tracing the existing location-service behavior and phone-wakeup handling in GmsCore, then determine how independently configurable wakeup localization and periodic renewal fit the current design. Done means both options work separately and their battery-impacting behavior is covered by appropriate validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.