title: Android wake lock is not released
body: <p>I get the wake lock like in <code>onCreate</code> method and it works fine (I also set the permissions):</p>
  
  <pre><code>PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
  PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "Wake lock");
  wl.acquire();
  </code></pre>
  
  <p>However, when I try to release it like:</p>
  
  <pre><code>@Override
  protected void onDestroy() 
  {
      super.onDestroy();
      wl.release();
  }
  </code></pre>
  
  <p>it is not released for some reason. How is this possible ? Any ideas ?</p>
  
  <p><strong>EDIT</strong>: I have an exit button which calls finish() which then calls onDestroy(). When I press the exit button and then put the phone to sleep I expect my program not to work but it works which shows me that the lock is not released</p>