PowerManager.newWakeLock() trows IlleagelArgumentException
<p>HI, 
I am trying to aquire a wake lock however when I call <code>PowerManager.newWakeLock()</code> I receive a IlleglArgumentException.</p>

<p>Here is the code I use to get the </p>

<pre><code>private void setWakeLock(Context context)
{
    PowerManager pm = (PowerManager) context
    .getSystemService(Context.POWER_SERVICE);
    SoundAlarmActivity.WakeLock = pm.newWakeLock(
    PowerManager.ACQUIRE_CAUSES_WAKEUP
            | PowerManager.ON_AFTER_RELEASE, "Alarm");
    SoundAlarmActivity.WakeLock.acquire();
}
</code></pre>

<p>And here is the logcat:</p>

<pre><code>09-28 12:53:09.704: ERROR/AndroidRuntime(702): java.lang.IllegalArgumentException
09-28 12:53:09.704: ERROR/AndroidRuntime(702):     at android.os.PowerManager$WakeLock.&lt;init&gt;(PowerManager.java:223)
09-28 12:53:09.704: ERROR/AndroidRuntime(702):     at android.os.PowerManager.newWakeLock(PowerManager.java:365)
</code></pre>
