Open Nzzyme opened 1 month ago
@Nzzyme Thank you for reporting! This behaviour is specific to MIUI and is controlled by the OS itself. We will consider removing the snack for Xiaomi devices.
@Nzzyme Thank you for reporting! This behaviour is specific to MIUI and is controlled by the OS itself. We will remove the snack for Xiaomi devices.
I have the same problem with Hyperos 1.0.1.0 on my Poco F3. However, it does not stop at this rather cosmetic problem, but there is also the following effect: When I connect to a WLAN, my Internet connection does not work until I actively start Adguard.
@Nzzyme Thank you for reporting! This behaviour is specific to MIUI and is controlled by the OS itself. We will consider removing the snack for Xiaomi devices.
The snack bar should not be completely removed by default. The expected behavior is that it should be shown if AG is set to be optimized by the OS. If not, it should not be shown.
If AG is set to be optimized by the OS, then when we click on "Fix it" and then on "Allow" button, it should take us to the optimization page and when we select as "No restriction", it should save that value and then the snack bar should no longer be shown in the future.
@Nzzyme Thank you for reporting! This behaviour is specific to MIUI and is controlled by the OS itself. We will remove the snack for Xiaomi devices.
I have the same problem with Hyperos 1.0.1.0 on my Poco F3. However, it does not stop at this rather cosmetic problem, but there is also the following effect: When I connect to a WLAN, my Internet connection does not work until I actively start Adguard.
It seems to be a different issue and not related to battery optimisation. Anyway, I think what you are going through is due to a setting in the MIUI Settings app. Try this:
That might fix it.
@Nzzyme
If AG is set to be optimized by the OS, then when we click on "Fix it" and then on "Allow" button, it should take us to the optimization page and when we select as "No restriction", it should save that value and then the snack bar should no longer be shown in the future.
The battery optimisation settings are controlled by the OS. For some reason, when you select "No restriction" for the AdGuard application, MIUI automatically discards your action and sets the option to the default "Optimised" position.
The snack bar should not be completely removed by default. The expected behavior is that it should be shown if AG is set to be optimized by the OS. If not, it should not be shown.
The snack is designed and is currently works this way. But due to OS behaviour on MIUI devices, the battery optimisation setting fails to be saved in "No restriction" position and the snack re-appears every time.
The battery optimisation settings are controlled by the OS. For some reason, when you select "No restriction" for the AdGuard application, MIUI automatically discards your action and sets the option to the default "Optimised" position.
The snack is designed and is currently works this way. But due to OS behaviour on MIUI devices, the battery optimisation setting fails to be saved in "No restriction" position and the snack re-appears every time.
Then how is it working fine with other apps (Example: Truecaller). I installed Truecaller and when the TC app ask for battery optimisation setting, I select "No restriction" and the setting is saved. without any problem. Hence, I don't think the issue with AG not saving the setting is due to MIUI. I believe this should be fixed within AG.
Please answer the following questions for yourself before submitting an issue
AdGuard version
4.4.1
Environment
HTTPS filtering
Root access
Integration with AdGuard VPN
Routing mode
Local VPN
Ad Blocking
No response
Privacy
No response
Social
No response
Annoyances
No response
Security
No response
Language-specific
No response
Other
No response
Which DNS server do you use?
AdGuard DNS
DNS protocol
None
Custom DNS
No response
What Stealth Mode options do you have enabled?
No response
Issue Details
Steps to reproduce:
Expected Behavior
After clicking on Allow button it should take us to the system level battery optimisation page and when we select no restriction it should accept that and save it.
Actual Behavior
It goes in a loop and ask us again and again to allow the battery optimisation settings as seen in the attached video.
Video: https://jmp.sh/s/qjYppMPO5zwgVDaHSTXc
Screenshots
Screenshot 1
Additional Information
No response