10.1.7 Get Sleep Mode Function

This function provides a mechanism to query the status of the Sleep mode.
bool atpl360_get_sleep(void);

This function returns True if Sleep mode is enabled, False when it is disabled.