title: Android GCM not letting me sleep
body: <p>I've made two apps to work with GCM notification in one I've done that using my own php server to store reg ids and then send notification to app users using GCM . and i've coded it myself in java also to receive that notification successfully i've done that using documentation of Google Cloud Messaging </p>
  
  <p>So in 1st app which i coded manually i'm getting all notifications as i was expecting then there was problem that screen was not getting on while i receiver notifications . I've accomplished that also using WAKE_LOCK. </p>
  
  <p>Even my app not present in ram of device which we mostly now a days we use hold on menu button and clear ram. </p>
  
  <p>but still i get notifications. </p>
  
  <p>Ok so here 1st app story ends. </p>
  
  <p>Now let's go towards second app 
  I've made that using <a href="https://onesignal.com" rel="nofollow">https://onesignal.com</a> SDK 
  That was so amazing and easy and i've done it earlier. 
  just this line of code did all. </p>
  
  <pre><code>OneSignal.startInit(this).init();
  </code></pre>
  
  <p>So every thing is working and all is done . But problem is that when this app is cleared from ram like i defined above i don't get even single notification then to be sure more i check my cell phone running app section and i was not able to find my 1st and 2nd app there but i found google play services running 5 services when i tapped on that i got that gcm is also running . So i'm not getting that what can be the issue with 2nd app ? what i should do to make it like 1st one with this sdk </p>
  
  <p>I'm really very worried and any help will be appreciated thanks.</p>