# GetSleepPolicy

int GetSleepPolicy (void);

## Purpose

Obtains the current sleep policy. Refer to SetSleepPolicy for more information on sleeping.

## Parameters

None.

## Return Value

Name | Type | Description
sleepPolicy | integer | The value of the current sleep policy.
Name | Code | Description
VAL_SLEEP_NONE | 1 | Never be put to sleep.
VAL_SLEEP_SOME | 2 | Be put to sleep for a short period.
VAL_SLEEP_MORE | 3 | Be put to sleep for a longer period.