Android What permissions required to call PowerManager.goToSleep(n) put device in sleep mode?
<p>Already set android.permissions.DEVICE_POWER in manifest of my app. Still complains that  neither user nor process have this permission when I call PowerManager.gotoSleep(n) within activity. What other settings are required for this to work?  Thanks  This is on My Samsung ATT phone</p>
