{{newin|[[0.10.0]]|100|type=function}}
Gets whether the display is allowed to sleep while the program is running.

Display sleep is disabled by default. Some types of input (e.g. joystick button presses) might not prevent the display from sleeping, if display sleep is allowed.
== Function ==
=== Synopsis ===
<source lang="lua">
enabled = love.window.isDisplaySleepEnabled( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|boolean|enabled|True if system display sleep is enabled / allowed, false otherwise.}}
== See Also ==
* [[parent::love.window]]
* [[love.window.setDisplaySleepEnabled]]
[[Category:Functions]]
{{#set:Description=Gets whether the display is allowed to sleep while the program is running.}}
== Other Languages ==
{{i18n|love.window.isDisplaySleepEnabled}}