| CPC H02J 7/007192 (2020.01) | 17 Claims |

|
1. A charging method, comprising:
determining, by a terminal device, a current heating level of the terminal device in response to detecting that the terminal device is in a charging state;
determining, by the terminal device, a target working mode of a charging integrated circuit of the terminal device based on the current heating level; and
adjusting a working mode of the charging integrated circuit from an initial working mode to the target working mode to charge the terminal device through the target working mode;
wherein determining the current heating level of the terminal device comprises:
determining a current temperature of the terminal device based on an application scene where the terminal device is located or a temperature of a target component in the terminal device, wherein the target component comprises the charging integrated circuit and a module used by the application scene, wherein the application scene where the terminal device is located is determined according to a type of an application program running on the terminal device; and
determining the current heating level of the terminal device based on the current temperature of the terminal device.
|