disallow save power
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2131948/force-screen-on">Force Screen On</a>  </p>
</blockquote>



<p>I need block the save power of device when my app is runs. No problem if screen goes down (my app is an audio app). I read about power manager and I discover this (that keep screen on). How disallow save power to device when my app runs?</p>

<pre><code>getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
</code></pre>
