Phone battery level, notification icons and weather updating issues

Please share:

Q1: The battery level bubble (which also has the phone finder) is almost always incorrect, sometimes by about 20%. Is there a setting that I’m missing that would make this bubble indicate the correct battery level?

Q2: Weather only seems to update when I open the Bubble Cloud app on the phone.

Q3: Notification icons are only updated when I open Bubble Cloud or the Notification Icons plugin on the phone

A: Bubble Cloud and its plugins need to be allowed to run in the background a few times each hour to check the phone’s battery level and transmit the value to the watch. This only takes a fraction of a second and does not use much battery.  But if the operating system decides my app is not important, it will not allow it to run frequently enough. Please read about Standby execution buckets here:
To achieve better battery life, the Android operating system is pretty aggressive in putting apps to sleep, not allowing them to run in the background. Especially if you use the phone app rarely it gets into a so called “rare” or “never” standby bucket, which Google decides should not run. There is nothing we developers can do about it. Google prides itself in knowing better… But users can set Android not to “optimize” certain apps (i.e. leave them alone). See steps 5)-7) below on how to disable Android’s battery optimization for Bubble Cloud.
On top of this, some phone makers have their own optimization systems too.  On Samsung phones for example, you can turn off battery optimization using the following steps 1)-4)
Some phones have very aggressive background task policies, they are disabling apps that you are not actively using. This causes a lot of problems with many applications. Please see this article on the topic:
You can test your phone with the DontKillMyApp Benchmark

Samsung optimization

1) Settings → Device maintenance
tempFileForShare_20190101-222527 (Large).jpg
2) “Battery”
tempFileForShare_20190101-222623 (Large).jpg
3) “Unmonitored apps” (at the bottom)
tempFileForShare_20190101-222718 (Large).jpg
4) Use “Add apps” button to add Bubble Clouds
tempFileForShare_20190101-222755 (Large).jpg
This will turn off the Samsung “optimization”.

Google optimization

I have checked, and I don’t have the Google optimization turned off, but I also use the Bubble Cloud phone app quite often (I have home screen widgets).
If steps 1) through 4) do not help, you can try to also disable the Google optimizations:
5) Back in the “Battery” screen, press the button “Battery usage”:
tempFileForShare_20190101-222823 (Large).jpg
6) In the battery usage screen, use the menu in the upper right and select “Optimize battery usage”:
tempFileForShare_20190101-222855 (Large).jpg
7) Choose “All apps” then search for Bubble Clouds in the list and turn the switch off
tempFileForShare_20190101-223101 (Large).jpg
Here is a website with information on how to turn off battery optimization in various Android versions:

Adaptive polling

The battery level can still be 1-2% off, because my app tries to wake your phone as little as possible. I implemented an adaptive polling system, which will change the polling frequency based on how quickly the battery level changes, so when you suddenly start to use the battery much, it might need a few minutes to catch up.

Other Weather related troubleshooting

Please see the following post: How to add weather?

Author: greg

the dev