Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: (functionality) #4

Open
derei opened this issue Jun 3, 2024 · 4 comments
Open

Question: (functionality) #4

derei opened this issue Jun 3, 2024 · 4 comments

Comments

@derei
Copy link

derei commented Jun 3, 2024

How does it impact battery? Have you done any testing in this regard?
Also, what happend in situations when the gps can't get a lock (no signal)?

@MrRar
Copy link
Owner

MrRar commented Jun 4, 2024

How does it impact battery? Have you done any testing in this regard?

I have done no testing. I presume this app would be detrimental to the battery. Pulling the GPS every second: I can't imagine that would be good for battery.

Also, what happend in situations when the gps can't get a lock (no signal)?

It will just keep trying forever.

@derei
Copy link
Author

derei commented Jun 4, 2024

Wouldn't you say that both issues should be addressed?
Perhaps if the app can monitor the connection, how many satellites are used, and if their number drops under a certain value, to call again, for example.

As for senseless trying, it should try for some time, and then pause until something changes (phone moves for a certain distance, for example). The movement can be estimated with accelerometer sensors too, if gps is not yet locked.

In conclusion, it definitely requires some smart management, to protect battery.

@MrRar
Copy link
Owner

MrRar commented Jun 6, 2024

The main goal of the app is obviously to keep the GPS locked as much as possible. Doing anything that might compromise that goes against the goal. For example, pulling the GPS less frequently if it has a bad signal. In this case it would be up to the user to turn off the app if they want to save battery.

@MrRar
Copy link
Owner

MrRar commented Jun 6, 2024

I'm not apposed to saving battery. I just don't know how to do it without compromising the main goal of the app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants