title: Turn off screen on Android
body: <p>I am trying to turn on and off the display after a certain action happens (Lets just worry about turning the screen off for now). From what I understand from wake lock, this is what I have:</p>
  <pre><code>PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);    
  PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, &quot;My Tag&quot;);
  </code></pre>
  <p>When I read other posts on stackoverflow and else where, they seem to tell me that PARTIAL_WAKE_LOCK will turn the screen off. But if I read the SDK it says that it will only allow the screen to be turned off. I think this isn't right.</p>