PowerManager.WakeLock inactive when power button pressed
<p>I am using a PowerManager.WakeLock to keep the device from going to sleep automatically during certain states of my app.  However, if the user presses the power button, I want the device to power off.  Is there a WakeLock flag that can do this?  Or is there a notification I can receive when the user presses the power button?</p>
