-
Notifications
You must be signed in to change notification settings - Fork 58
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
issue with Android power saving modes #34
Comments
This seems to vary a lot between different manufacturers, and I don't think there's a standardized way to turn off or even detect whether such power saving features exist. I'd either have to maintain a whitelist of manufacturers that will show such a warning, or show it for every device regardless of manufacturer. If there is a way to easily maintain a whitelist, then I think that may be the best option.
This is implemented in the upcoming v1.1.1 (see #28). |
That's why some other apps I know are using just a hint at the first start welcome screen to make the user aware of this...
Thank's! |
In MIUI there is an option not to apply any power saving policies to app. One can change it in app settings. |
I'm looking into enabling a warning message on a per-manufacturer/per-ROM basis. In order to do that for Xiaomi/MIUI, as I don't have such a device myself, can you help me out by pasting or screenshooting your device's build number? This should be in "Settings > About phone" (typically at the bottom of the settings menu) on most Android devices. Furthermore, I believe I can add a button to the warning notification that opens the settings menu for the user directly. That way, they don't have to go look for it in settings. I have implemented this for OnePlus (as I have a OnePlus device and can verify that it works). I don't know if this is feasible for Xiaomi. To figure that out, I need someone who has both a Xiaomi device and a computer running Linux to run a couple of commands for me. Until then, I can still add a warning that just tells the user how to do it manually instead. |
I've put the groundwork in for this feature and it works for OnePlus and Huawei devices now, but I have yet to find someone who has a Xiaomi device that I can get the proper debug data from via |
Ouh, did not see that one. Xiaomi Mi 9 here with EU-Rom. Running KDE neon as well. What do you need? |
I assume this is stock ROM? Stock ROM (e.g. MIUI) is what I need to fix the issue. I need to run
This is the setting that you'll need to find and open, while logcat is running. On my OnePlus device, the output looks like this:
I need the output from logcat to find out how to launch that screen programmatically from the app. If you can send me the output, I'll give you another command you can run via |
I have finally found someone with a Xiaomi device to help me out. I was unable to test the solution due to needing a Xiaomi account to install apps via This will be live in v1.3.1. |
I've tagged the v1.3.1 release. It should appear in F-Droid within a few days to a week. |
on my Xiaomi Phone, some power saving modes are enabled by default. As a consequence the Hauk-App is terminated after some time if running in background. To solve this, at least a hint to disable power saving mode for the app would be useful...
Additionally restarting the app does not reconnect to the previous session. In other words, the Hauk-App is not aware of another share already running and control over the share is lost.
The text was updated successfully, but these errors were encountered: