A device, comprising: a main body having a front and a back; a touch screen on the front of the main body; an accelerometer within the main body for detecting movement and an orientation of the device; and a processor within the main body configured for: determining if the device is front down or back down; if the device is front down, placing the device in a first sleep state and then a second sleep state after a first predetermined time period in the first sleep state without detecting movement of the device or receiving input since the device was placed in the first sleep state; if the device is back down, placing the device in a third sleep state after a second predetermined time period in the second sleep state, and then a fourth sleep state based on a time elapsed without detecting movement of the device or receiving input since the device was placed in the third sleep state; when the device is neither front down nor back down, placing the device in the third sleep state and then the fourth sleep state based on a time elapsed without detecting movement of the device or receiving input since the device was placed in the second sleep state; and when the device is neither front down nor back down, placing the device in a fourth sleep state after a third predetermined time period in the third sleep state; wherein the second predetermined time period is longer than the first predetermined time period; and wherein the third predetermined time period is longer than the second predetermined time period. a main body having a front and a back; a touch screen on the front of the main body; an accelerometer within the main body for detecting movement and an orientation of the device; and a processor within the main body configured for: determining if the device is front down or back down; if the device is front down, placing the device in a first sleep state and then a second sleep state after a first predetermined time period in the first sleep state without detecting movement of the device or receiving input since the device was placed in the first sleep state; if the device is back down, placing the device in a third sleep state after a second predetermined time period in the second sleep state, and then a fourth sleep state based on a time elapsed without detecting movement of the device or receiving input since the device was placed in the third sleep state; when the device is neither front down nor back down, placing the device in the third sleep state and then the fourth sleep state based on a time elapsed without detecting movement of the device or receiving input since the device was placed in the second sleep state; and when the device is neither front down nor back down, placing the device in a fourth sleep state after a third predetermined time period in the third sleep state; wherein the second predetermined time period is longer than the first predetermined time period; and wherein the third predetermined time period is longer than the second predetermined time period. determining if the device is front down or back down; if the device is front down, placing the device in a first sleep state and then a second sleep state after a first predetermined time period in the first sleep state without detecting movement of the device or receiving input since the device was placed in the first sleep state; if the device is back down, placing the device in a third sleep state after a second predetermined time period in the second sleep state, and then a fourth sleep state based on a time elapsed without detecting movement of the device or receiving input since the device was placed in the third sleep state; when the device is neither front down nor back down, placing the device in the third sleep state and then the fourth sleep state based on a time elapsed without detecting movement of the device or receiving input since the device was placed in the second sleep state; and when the device is neither front down nor back down, placing the device in a fourth sleep state after a third predetermined time period in the third sleep state; wherein the second predetermined time period is longer than the first predetermined time period; and wherein the third predetermined time period is longer than the second predetermined time period.