An aerosol generating device, comprising: a power source (114, 135) configured to supply power to perform atomization of an aerosol source and/or heating of a flavor source; a sensor configured to output a measured value representing a first physical quantity for controlling the power supplied; and a controller configured to acquire the measured value output from the sensor, store a profile of the measured value, and control the supplied power by controlling a second physical quantity which is different from the first physical quantity, based on the acquired measured value and at least part of the stored profile of the measured value, wherein the controller is configured to store a profile of the measured value, the profile corresponding to a power supply cycle including a period from when the power source (114, 135) starts supplying the power to when supplying the power is stopped, and control at least one of a stop and continuity of supplying the power based on at least one of a first profile and a second profile, the first profile being a stored profile of the measured values, and the second profile being an average profile of the measured value derived from a plurality of the first profiles, characterizing in that the controller is configured to acquire the measured value and a measurement time of the measured value and to be capable of executing a first algorithm for setting a timing when supplying the power is stopped or a period of time in which the power continues to be supplied based on a first feature point in the first profile or the second profile and a second algorithm for setting a timing when supplying the power is stopped or a period of time in which the power continues to be supplied based on a second feature point which is different from the first feature point in the first profile or the second profile, and execute at least one of the first algorithm and the second algorithm based on deviations among the measurement times of the first feature points in each of a plurality of the first profiles or the second profile. a power source (114, 135) configured to supply power to perform atomization of an aerosol source and/or heating of a flavor source; a sensor configured to output a measured value representing a first physical quantity for controlling the power supplied; and a controller configured to acquire the measured value output from the sensor, store a profile of the measured value, and control the supplied power by controlling a second physical quantity which is different from the first physical quantity, based on the acquired measured value and at least part of the stored profile of the measured value, wherein the controller is configured to store a profile of the measured value, the profile corresponding to a power supply cycle including a period from when the power source (114, 135) starts supplying the power to when supplying the power is stopped, and control at least one of a stop and continuity of supplying the power based on at least one of a first profile and a second profile, the first profile being a stored profile of the measured values, and the second profile being an average profile of the measured value derived from a plurality of the first profiles, characterizing in that the controller is configured to acquire the measured value and a measurement time of the measured value and to be capable of executing a first algorithm for setting a timing when supplying the power is stopped or a period of time in which the power continues to be supplied based on a first feature point in the first profile or the second profile and a second algorithm for setting a timing when supplying the power is stopped or a period of time in which the power continues to be supplied based on a second feature point which is different from the first feature point in the first profile or the second profile, and execute at least one of the first algorithm and the second algorithm based on deviations among the measurement times of the first feature points in each of a plurality of the first profiles or the second profile.