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

[Feature] Guide user to turn off battery optimisation #83

Open
KolyaKorruptis opened this issue Mar 13, 2024 · 3 comments
Open

[Feature] Guide user to turn off battery optimisation #83

KolyaKorruptis opened this issue Mar 13, 2024 · 3 comments

Comments

@KolyaKorruptis
Copy link

As explained in #82 I frequently missed out on walking data, because MotionMate was turned off by battery optimisation. I'm pretty sure I have seen other apps explain this problem to the user and even open the relevant settings page to turn optimisation off. In the interest of preventing missed data this would be a useful on-boarding feature for MotionMate.

@0xf4b1
Copy link
Owner

0xf4b1 commented Mar 22, 2024

hm, I never had a problem like that on the devices I'm using but I'm aware of such battery optimization features. I'm not sure if this feature behaves equally across devices and always needs to be turned off so that the app can run in the background. I haven't personally seen apps requesting that (but could be because of my phone settings of course). Needs more research how to determine in which cases it is really needed.

@KolyaKorruptis
Copy link
Author

To clarify: It happened when the phone was restarted. MotionMate was not automatically loaded on start then. Since I have set my Galaxy S10+ to auto restart once a week at night this meant that MotionMate was effectively silently turned off. Since I disabled battery optimisation MotionMate gets loaded again after a phone restart.

@KolyaKorruptis KolyaKorruptis changed the title [Feature] Guide user to turn off battery optimation [Feature] Guide user to turn off battery optimisation Mar 24, 2024
@KolyaKorruptis
Copy link
Author

KolyaKorruptis commented May 15, 2024

Incidentally I just installed Airguard and while it doesn't request turning off battery optimization, it advises you to do so and provides a button that triggers a simple dialogue. Thought this might be interesting to you, especially since the Airguard is also open source.
These screenshots show the initial setup of Airguard and what happens when you tap the button "Ignore battery optimization":

imageimage

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