title: Is it possible to track when an app enters "Doze on the Go" (AKA Doze Light, Doze Extended, and Doze 2)?
body: <p>In Android "N", Doze has been extended with "<a href="https://developer.android.com/about/versions/nougat/android-7.0.html#doze_on_the_go" rel="nofollow noreferrer">Doze on the Go</a>".</p>
  
  <p>I'm looking for a way to detect when the device enters and leaves these new light doze IDLE and IDLE_MAINTENANCE states. (Basically the same question that was asked for regular Doze <a href="https://stackoverflow.com/questions/35143089/detecting-doze-state">here</a>.)</p>