title: How to shift device in Doze Mode (Android Preview M / Marshmallow)?
body: <p>I followed steps described here:</p>
  
  <p><a href="https://developer.android.com/preview/testing/guide.html#doze-standby" rel="noreferrer">https://developer.android.com/preview/testing/guide.html#doze-standby</a></p>
  
  <p>Circumstances:</p>
  
  <ul>
  <li><p>Android Debug Bridge version 1.0.32</p></li>
  <li><p>Nexus 9 with Preview M </p></li>
  </ul>
  
  <p>Shell:</p>
  
  <pre><code>$ adb shell dumpsys battery unplug
  </code></pre>
  
  <p>=> worked, device unplugged</p>
  
  <pre><code>$ adb shell dumpsys deviceidle step
  </code></pre>
  
  <p>=> Output: Stepped to: ACTIVE</p>
  
  <pre><code>$ adb shell dumpsys deviceidle -h
  </code></pre>
  
  <p>=> does not work => Output: </p>
  
  <pre><code>Device idle controller (deviceidle) dump options:
  
  [-h] [CMD]
  
  -h: print this help text.
  
  Commands:
  
  step
  
  disable
  
  enable
  
  whitelist
  </code></pre>
  
  <p>I tried it with:</p>
  
  <pre><code>adb shell dumpsys deviceidle enable
  </code></pre>
  
  <p>But it didn't work.</p>
  
  <p>So my question, as mentioned above, how to shift the device in Doze-Mode?
  What did i make wrong?</p>
  
  <p><strong>EDIT - JUNE, 2016:</strong></p>
  
  <p>New Link:
  <a href="https://developer.android.com/training/monitoring-device-state/doze-standby.html" rel="noreferrer">https://developer.android.com/training/monitoring-device-state/doze-standby.html</a></p>