title: How to fix apps that miss alarms in doze mode?
body: <p>Some apps, especially those no longer maintained, severely misbehave when an android device with Marshmallow enters doze mode. Apps designed as alarm clock replacements or schedulers to perform certain tasks in the future no longer work reliably, completely defeating their purpose.</p>
  
  <p>Workarounds are well known for developers, or when the affected apps are open-source, e.g. answered <a href="https://stackoverflow.com/questions/32492770/how-to-make-alarm-manager-work-when-android-6-0-in-doze-mode">here</a> and documented <a href="https://developer.android.com/training/monitoring-device-state/doze-standby.html#assessing_your_app" rel="nofollow noreferrer">here</a>.</p>
  
  <p><em>But how can closed-source apps, whose authors no longer maintain them, be fixed?</em></p>
  
  <p>Note that disabling battery optimization for an app will not help with doze mode as answered <a href="https://stackoverflow.com/questions/31720246/how-to-opt-out-an-app-from-doze-mode">here</a>.</p>