ApplesauceOS
Read Markdown ↗Download .md

getKeepAwake

Read the keep-screen-awake preference.

js
getKeepAwake()

Arguments

No arguments.

Returns

Boolean.

Example

js
console.log(getKeepAwake());

All JavaScript APIs · Automation playbook