Fixing widgets and alerts on Xiaomi, OnePlus and Vivo phones
If you are using a phone from Xiaomi, Oppo (OnePlus) or Vivo, such as Redmi, Mi, OnePlus One, or other models, there is a good chance the widgets from The Crypto App will not be updating automatically, or even force refresh (tapping on the time label) will not be working. It could also happen that alerts are not working properly.
The reason for this is that these manufacturers make their own flavor of Android OS and they have implemented aggressive battery optimizations, which prohibit any non-whitelisted app from performing any kind of background work. This might be good for your battery, but it will break a lot of apps - The Crypto App included. We already strive to write the code in such a way that preserves the battery as much as possible and we provide users with settings to fine-tune between high performance and battery saving modes, such as widget update interval. We have no control over manufacturer-specific battery optimizations, so here is how to fix it yourself.
Generally, you need to make sure that The Crypto App is not under any special battery optimization rule. Below are steps for various manufacturers known to break app behavior with unnecessary rules.
If the below instructions don't help, or you use use a phone from another manufacturer and are still having the same issues, check also http://truebalance.io/howto/how-to-accessibility/ and https://dontkillmyapp.com for additional instructions.
If background services are stopped without any notification on the Android devices, they should be automatically started again by default. However, the Autostart function of background services on the Xiaomi devices is set to off by default. Make sure that the Autostart function is enabled:
That should do it! Also, sometimes it helps if you lock The Crypto App in task manager, so the task cleaner will not kill it. To do that, open Recents, swipe down on The Crypto App, and click the lock icon. Here is an example with some random other app:
- Go to Settings
- Select Battery
- Select Battery Optimizations
- Set The Crypto App to “not optimized”
If that doesn’t help, and Advanced optimizations are enabled, disable them:
You can check this forum thread for more information.
For Vivo devices, check this tutorial: http://truebalance.io/howto/how-to-accessibility/how-to-vivo/