# Wake Lock

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-others/wake-lock
>
> Keeps the device awake by acquiring or releasing a wake lock for the CPU, screen or keyboard, local to an event or global to the app.

Wake Lock will keep your terminal awake for as long as you need until you release lock. This can be used instead the action “Reset Idle Time”.

Action available for the following operating systems:

![OS Supported: Android, Win, Win32](https://doc.sysdevmobile.com/kalipso/assets/images/09_Supported_OS_android_windows_oldWin-364844c2f14401607aabd4945b5fe8b2.png)

### Parameters

* **Scope** _\<numeric>_
  * 1 - Local to Event
  * 2 - Global to Application
* **State** _\<numeric>_
  * 1- Acquire Lock
  * 2- Release Lock
* **Type** _\<numeric>_
  * 1- CPU only
  * 2- CPU with Screen
  * 3- CPU with Screen Bright
  * 4- CPU with Screen and Keyboard Dim
