Android weather widget not updating automatically

03-Jun-2020 05:02

It would always be [somewhat] updated by itself (usually every 30-60 minutes it seemed).

But because there were some problems with applications I use daily, I reverted back to my old Android 6.0.1 build. Maybe something with battery optimizations or something?

Over the past couple days, it seems like my Weather Channel app hasn't been working properly.

When I move to the home screen that has the widget, it will be displaying the wrong temperature and picture (i.e.

His problem is, when he made changes in his application and then come back to his home screen, No changes reflected.

A final alternative would be to register an Alarm Manager to fire a Service performing the widget updates. The summary of what I'm doing is, when the update is needed, I send a broadcast which is registered in the Widget Provider in the Manifest, upon receiving it in on Receive, I extract the values and update the widget, however, the the widget doesn't get updated.