It's a special BIOS that allows that.
If I remember correctly, it's got power management similar to a laptop. Basically it goes into standby mode, and after a certain period of time of non-use it hibernates.
You won't be able to replicate it on off-the-shelf desktop system hardware. A laptop, maybe.