You would generally set that up that in BIOS.
Since SME Server never goes to sleep on its own, this is probably an irrelevant question. However, wake-up on MODEM is something I have found useful to turn on a remote server that occasionally got shut down, just by phoning it up.