There is provided a method for controlling power supplied to an aerosol-generating element (4) of an aerosol-generating device (1), the aerosol-generating device (1) comprising an aerosol-generating element (4), a control unit (3) and a battery (2) for delivering power to the aerosol-generating element and to the control unit, the control unit configured to adjust a duty cycle (DC) of a current supplied from the battery to the aerosol-generating element, wherein the method comprises the steps of: measuring, using a measuring unit (25), at least one first characteristic (Tbat) of the battery (2), wherein the at least one battery first characteristic (Tbat) comprises a temperature of the battery (Tbat); and adjusting, using the control unit (3), a value of the duty cycle (DC) based on a predetermined rule which outputs a value of duty cycle (DC) based on the measured at least one battery characteristic (Tbat). By controlling the duty cycle of the current supplied from the battery in this way as high a duty cycle as possible can be used while maintaining the voltage at the control unit at or above a minimum operating voltage.