Version: 2017.1
public static int SystemSetting ;

Description

Set the sleep timeout to whatever the user has specified in the system settings.

Useful when restoring back to the state the system was in before running your app.