How do alarms work with Period Battery Optimization? My G4 just got delivered an OTC update (V30c-FEB-11-2016, not sure why I just got it now), that contains the troubling text:


  The battery will now be optimized automatically when the phone or apps
  are not in use for a certain period of time. Alarms may not sound and
  notifications from apps that are not updated to the latest OS version
  may not be received during battery optimization.


What exactly is the alarm behavior if it happens to fall on a battery optimization? How long does a battery optimization session take, and will the alarm sound after the optimization finishes?
This is 'doze', a new power optimization feature introduced in Marshmallow.

Apps have to be compliant to doze specifications (APIs), to work continously across system low power states.,

While Google alarm app from stock android will work as it will be already doze compliant, any third party app (motorola apps or playstore apps) may or maynot have doze support, and hence might not function as normally..