The invention discloses a battery pack thermal management method and device, a storage medium and an electronic device. The method comprises the following steps of acquiring the current temperature ofa battery pack and the working state information of the battery pack; determining the maximum working power information of the battery pack according to the current temperature and the working stateinformation; inputting the maximum working power information, the current temperature and the working state information into a battery model assembly to obtain the heating temperature of the battery pack; judging whether the sum value of the heating temperature and the current temperature is smaller than a preset first temperature threshold value or not; and if the sum value of the heating temperature and the current temperature is smaller than the preset first temperature threshold value, determining the energy required for heating the battery pack according to the heating temperature, and starting the heating assembly, so that the heating assembly heats the battery pack according to the energy required for heating. According to the technical scheme, the heating temperature of the internal resistance is considered, and the obtained required heating or cooling energy is more accurate, so that the energy is saved.