resolve sleep() and deepsleep() to no-ops if DEVICE_SLEEP isn't set