A charging method, comprising: initializing a secondary charging threshold to obtain a default value of the secondary charging threshold; obtaining a secondary charging threshold adjustment parameter when an electronic device is connected to a power adapter, wherein when a battery level of the electronic device is smaller than the secondary charging threshold, secondary charging is performed; determining, according to the secondary charging threshold adjustment parameter, whether the secondary charging threshold is required to be adjusted, to obtain a determination result; when the determination result indicates that the secondary charging threshold is required to be adjusted, adjusting the secondary charging threshold from the default value to a present value smaller than the default value; and performing secondary charging control by using the present value; characterized in that the step determining, according to the secondary charging threshold adjustment parameter, whether the secondary charging threshold is required to be adjusted, to obtain a determination result comprises: the secondary charging threshold adjustment parameter is a continuous charging time; and when the continuous charging time is greater than a predetermined threshold, obtaining the determination result indicating that it is required to adjust the secondary charging threshold, wherein the continuous charging time has a negative correlation with the present value of the secondary charging threshold. initializing a secondary charging threshold to obtain a default value of the secondary charging threshold; obtaining a secondary charging threshold adjustment parameter when an electronic device is connected to a power adapter, wherein when a battery level of the electronic device is smaller than the secondary charging threshold, secondary charging is performed; determining, according to the secondary charging threshold adjustment parameter, whether the secondary charging threshold is required to be adjusted, to obtain a determination result; when the determination result indicates that the secondary charging threshold is required to be adjusted, adjusting the secondary charging threshold from the default value to a present value smaller than the default value; and performing secondary charging control by using the present value; characterized in that the step determining, according to the secondary charging threshold adjustment parameter, whether the secondary charging threshold is required to be adjusted, to obtain a determination result comprises: the secondary charging threshold adjustment parameter is a continuous charging time; and when the continuous charging time is greater than a predetermined threshold, obtaining the determination result indicating that it is required to adjust the secondary charging threshold, wherein the continuous charging time has a negative correlation with the present value of the secondary charging threshold. the secondary charging threshold adjustment parameter is a continuous charging time; and when the continuous charging time is greater than a predetermined threshold, obtaining the determination result indicating that it is required to adjust the secondary charging threshold, wherein the continuous charging time has a negative correlation with the present value of the secondary charging threshold.