Patent ID: 8543164

Claim:
A sleep method, comprising: when determining to select a sleep mode of a mobile terminal device, recording, by the mobile terminal device, service state information related to data connection; according to the recorded service state information related to the data connection, turning off a service that is related to the data connection and is in a turn-on state; and controlling a processor to enter the sleep mode; wherein determining to select the sleep mode of the mobile terminal device in an automatic system selection manner comprises: (a) when the mobile terminal device detects that a user selects power-off, detecting, by the mobile terminal device, (1) whether the mobile terminal device is currently in a charging state, and (2) whether a high definition multimedia interface (HDMI) is inserted with an HDMI line, and when the mobile terminal device detects at least one from the group consisting of (i) the mobile terminal device is not in the charging state currently, and (ii) the HDMI is not inserted with the HDMI line, determining to select the sleep mode of the mobile terminal device; and (b) wherein when a power interface and a Universal Serial Bus (USB) interface on the mobile terminal device are different, determining to select the sleep mode of the mobile terminal device in the automatic system selection manner further comprises: detecting, by the mobile terminal device, whether an event that the power interface is inserted with the power line occurs; when the mobile terminal device detects that the event that the power interface is inserted with the power line occurs, determining to select the sleep mode of the mobile terminal device.