How to fix your unresponsive Android Widgets?

In low end Android mobiles, you can run into the issue of widgets turning unresponsive.

For example, a Microsoft ToDo widget might display a blank white page without showing tasks, or a calendar widgets will show a blank page without the events. Any clicks on the widget will not work. But when you open the app or recreate the widget it will work for sometime before going unresponsive again.

The main reason for this issue is that the application is closed in the background due to battery optimization. You can set this app to be not battery optimized by Android.

  1. Go to Settings.
  2. Open the App Info for the particular app you want to optimize.
  3. Click on Battery -> Battery Optimization.
  4. In the list of app, click on your app and select Don't optimize.
Screenshot of Battery optimization setting

If you are using a third party launcher, exempting your launcher from Battery Optimization might also help.