title: how my program stays awake all the time in the background in android studio
body: <p>I am developing a program that like caller id. I have to keep it always awake also runing background.</p>
  <p>Which permissions or flags that i need?</p>
  <p>Also how can i get permission battery optimizaion close for my app</p>
  <p>Thanks</p>