title: Android Service that can last as long as the phone operating with Event Listeners
body: <p>I have a foreground service that has a thread. This thread implement some event listeners triggered from Internet and sensors.
  The App should be always running as far as the phone is on.
  What would be the best approach for building this App without draining the battery?
  I am looking for best practices for a Service that running all the time listening to Events from Internet and Sensors not a task that should be be finished.</p>