The present disclosure provides an aerosol delivery device. The aerosol delivery device comprises one or more rechargeable batteries, charging circuitry including an electrical connector configured to interconnect the one or more rechargeable batteries with a power supply, and a sensor configured to detect an action of using the aerosol delivery device by a user and output a signal. The aerosol delivery device also comprises a microprocessor coupled to the charging circuitry and the sensor, the microprocessor, in response to receiving the signal from the sensor, is configured to control the aerosol delivery device to allow vaping or puffing by a user while the aerosol delivery device is connected to a charger.