GCM high priority messages not received in deep idle mode : <p>After entering Deep Idle Mode using:</p>

<pre><code>adb shell dumpsys deviceidle force-idle
</code></pre>

<p>I'm trying to send the device a high priority message, as suggested by <a href="https://developers.google.com/cloud-messaging/concept-options#setting-the-priority-of-a-message" rel="noreferrer">the documentation</a>, using:</p>

<blockquote>
  <p>{
  "to" : "feoLl37Ses4:A.......hDQU1OZKd",
    "priority" : "high",
    "notification" : {
      "body" : "This is the body.",
      "title" : "this is the title",
      "icon" : "new"
    }
  }</p>
</blockquote>

<p>The message is not received.
Only after I change the state of the device to IDLE_MAINTENANCE the message is received.</p>

<p>How can I get the device to receive the message even if it's in deep idle mode?</p>
