title: Service in android is not restarting
body: <p>I am using services in android for some tasks, I want my service to run every time.
  But when I clear ram of android phone my service get killed and not restarting.
  I have read several articles which suggest <code>START_STICKY</code> will solve the problem but it is not happening.</p>
  
  <p>Below is my code of <code>onStartCommand</code> in service, i am returning <code>START_STICKY</code> in it. Even <code>onDestroy</code> is not getting called in this situation.</p>
  
  <pre><code>public int onStartCommand(Intent intent, int flags, int start_Id) {
      return START_STICKY;
  }
  </code></pre>