1. A method, comprising: connecting a device to a computer system to form a unified system; generating a unified desktop for the unified system, wherein the unified desktop includes a first user interface associated with the device and a second user interface associated with the computer system, and wherein the unified desktop emulates a personal computer environment; receiving one of a plurality of sleep states from a user, wherein each of the plurality of sleep states is governed by a wakeup rule; setting the unified desktop into the received sleep state, wherein in the sleep state both the first user interface and the second user interface are inactive.