A method for controlling wireless charging, comprising: obtaining by a terminal device, a charging power and a temperature of the terminal device, wherein the terminal device comprises a wireless charging system; characterized by, further comprising: determining by the terminal device, an operating mode of the wireless charging system based on the charging power and the temperature according to a preset rule, wherein the preset rule comprises at least two control rules and operating modes corresponding to the at least two control rules respectively; and controlling by the terminal device, the wireless charging system to enter the operating mode corresponding to one of the at least two control rules; wherein the preset rule comprises a first control rule and a second control rule, and determining the operating mode of the wireless charging system based on the charging power and the temperature according to the preset rule, comprises: determining whether the charging power is greater than a preset power threshold; determining the operating mode of the wireless charging system according to the temperature and the first control rule in response to the charging power being greater than the preset power threshold; and determining the operating mode of the wireless charging system according to the temperature and the second control rule in response to the charging power being equal to or less than the preset power threshold. obtaining by a terminal device, a charging power and a temperature of the terminal device, wherein the terminal device comprises a wireless charging system; characterized by, further comprising: determining by the terminal device, an operating mode of the wireless charging system based on the charging power and the temperature according to a preset rule, wherein the preset rule comprises at least two control rules and operating modes corresponding to the at least two control rules respectively; and controlling by the terminal device, the wireless charging system to enter the operating mode corresponding to one of the at least two control rules; wherein the preset rule comprises a first control rule and a second control rule, and determining the operating mode of the wireless charging system based on the charging power and the temperature according to the preset rule, comprises: determining whether the charging power is greater than a preset power threshold; determining the operating mode of the wireless charging system according to the temperature and the first control rule in response to the charging power being greater than the preset power threshold; and determining the operating mode of the wireless charging system according to the temperature and the second control rule in response to the charging power being equal to or less than the preset power threshold. determining by the terminal device, an operating mode of the wireless charging system based on the charging power and the temperature according to a preset rule, wherein the preset rule comprises at least two control rules and operating modes corresponding to the at least two control rules respectively; and controlling by the terminal device, the wireless charging system to enter the operating mode corresponding to one of the at least two control rules; wherein the preset rule comprises a first control rule and a second control rule, and determining the operating mode of the wireless charging system based on the charging power and the temperature according to the preset rule, comprises: determining whether the charging power is greater than a preset power threshold; determining the operating mode of the wireless charging system according to the temperature and the first control rule in response to the charging power being greater than the preset power threshold; and determining the operating mode of the wireless charging system according to the temperature and the second control rule in response to the charging power being equal to or less than the preset power threshold. determining whether the charging power is greater than a preset power threshold; determining the operating mode of the wireless charging system according to the temperature and the first control rule in response to the charging power being greater than the preset power threshold; and determining the operating mode of the wireless charging system according to the temperature and the second control rule in response to the charging power being equal to or less than the preset power threshold.