Managing operation of an aerosol-generating system and energy supply by a removably couplable energy storage

EP4750346A1Pending Publication Date: 2026-06-03PHILIP MORRIS PRODUCTS SA

Patent Information

Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
PHILIP MORRIS PRODUCTS SA
Filing Date
2024-07-10
Publication Date
2026-06-03

AI Technical Summary

Technical Problem

The use of unauthorized energy storage in aerosol-generating devices poses safety risks to users and can damage the devices, as unauthorized energy storages may heat up unexpectedly or explode.

Method used

A computer-implemented method that manages the operation of an aerosol-generating system by determining whether a removably couplable energy storage is authorized through identification information, and if not, operates the system in a safety mode to ensure user and device safety.

Benefits of technology

The method effectively prevents the use of unauthorized energy storage, thereby reducing the risk of device damage and user safety hazards, while allowing authorized energy storage to operate normally.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024104669_30012025_PF_FP_ABST
    Figure CN2024104669_30012025_PF_FP_ABST
Patent Text Reader

Abstract

A computer-implemented method for managing operation of an aerosol-generating system and energy supply by a removably couplable energy storage, wherein the aerosol-generating system comprises processing circuitry including at least one controller and / or processor, the method comprising: providing, by the energy storage, identification information of the energy storage, determining, from the identification information, whether the energy storage is an authorized energy storage or an unauthorized energy storage, and, in the case that the energy storage is determined to be an unauthorized energy storage, operating the aerosol-generating system in a safety mode.
Need to check novelty before this filing date? Find Prior Art

Description

MANAGING OPERATION OF AN AEROSOL-GENERATING SYSTEM AND ENERGY SUPPLY BY A REMOVABLY COUPLABLE ENERGY STORAGE

[0001] The present disclosure relates to a computer-implemented method for estimating a capacity of an energy storage of an aerosol-generating device or a companion device configured to charge an aerosol-generating device with electrical energy, an aerosol-generating system, a computer program and a computer-readable medium.

[0002] Aerosol-generating devices are typically designed as handheld devices that can be used by a user for consuming or experiencing, for instance in one or more usage sessions, aerosol generated from an aerosol-generating substrate or an aerosol-generating article, for example by heating. The aerosol-generating devices the present disclosure pertains to are mainly directed to the field of tobacco and tobacco-substitute products, as well as e-vapor devices, for example heated tobacco products (HTP) , heat-not-burn devices, electronic cigarettes, e-vapor devices, and / or vaporisers. The aerosol-generating devices of the present disclosure may also pertain to other types of inhalers, dispensers, or atomizers, for example inhalers, dispensers, or atomizers for medical applications.

[0003] Exemplary aerosol-generating substrates can comprise solid substrate material, such as tobacco material or tobacco cast leaves (TCL) material. The substrate material can, for example, be assembled, often with other elements or components, to form a substantially stick-shaped aerosol-generating article. Such a stick or aerosol-generating article can be configured in shape and size to be inserted at least partially into the aerosol-generating device. The aerosol-generating device may comprise a heating element or heater device for heating the aerosol-generating article and / or the aerosol-generating substrate. The heating element or heater device may be part of the aerosol-generating article and / or the aerosol-generating device. Alternatively or additionally, aerosol-generating substrates can comprise one or more liquids and / or solids, which can, for example, be supplied to the aerosol-generating device in the form of a cartridge or container. Corresponding exemplary aerosol-generating articles can, for example, comprise a cartridge containing or fillable with the liquid and / or solid substrate, which can be vaporized during aerosol consumption by the user based on heating the substrate and / or liquid. Usually, such cartridge or container can be coupled to, attached to or at least partially inserted into the aerosol-generating device. Alternatively, the cartridge may be fixedly mounted to the aerosol-generating device and refilled by inserting liquid and / or solid into the cartridge. The aerosol generated from the aerosol-generating substrate or article may comprise or include one or more of nicotine, aroma, sugar, moisturising agent, botanicals, preservative, flavouring, for example cocoa, liquorice, menthol and lactic acid or other additives. The aerosol generated from the aerosol-generating substrate or article may additionally or alternatively comprise one or more pharmaceutical agents or drugs and may include one or more adjuvants.

[0004] For generating the aerosol during use or consumption, heat can be supplied by a heating element, heater device or heat source to heat at least a portion or part of the aerosol-generating substrate.  The heating element, heater device or heat source can be arranged in the handheld device or a handheld part of the aerosol-generating device. Alternatively or additionally, at least a part of or the entire heating element or heater device or heat source can be fixedly associated with or arranged within an aerosol-generating article, for instance in the form of a stick or cartridge, which can be attached to and / or powered by the handheld device or handheld part of the aerosol-generating device.

[0005] Exemplary heating elements or heater devices can be based on one or more of resistive heating, inductive heating and microwave heating using electrical energy supplied via, drawn from or stored in an energy storage or battery of the aerosol-generating device. As used herein, a battery of the aerosol-generating device can generally refer to an energy storage of the aerosol-generating device configured to store electrical energy. Accordingly, the term energy storage can include one or more batteries, one or more capacitors, one or more accumulators or other types of energy storage. Also, any reference to a battery herein can include a plurality of batteries. Typically, aerosol-generating devices comprise an energy storage, for example a battery, providing the electrical energy needed to operate the aerosol-generating device and especially for heating the aerosol-generating substrate and / or article, for example to generate aerosol in one or more usage sessions using one or more aerosol-generating articles. The battery may, for example, be a lithium-ion battery.

[0006] As used herein, a usage session may refer to a period of time, during which a user may use the device to generate, consume, experience or inhale aerosol using the aerosol-generating device. Therein, a usage session may be finite. In other words, a usage session may have a start, an end and a duration. The duration of the usage session as measured by time may be influenced by use during the usage session. The duration of the usage session may have a maximum duration determined by a maximum time from the start of the usage session. The duration of the usage session may be less than the maximum time if one or more monitored parameters reaches a predetermined threshold before the maximum time from the start of the usage session. By way of example, the one or more monitored parameters may comprise one or more of: i) a cumulative puff count of a series of puffs drawn by a user since the start of the usage session, and ii) a cumulative volume of aerosol evolved from the aerosol-forming substrate since the start of the usage session.

[0007] An energy storage capacity or battery capacity may typically be chosen so that the aerosol-generating device may provide a user with at least a minimum number, for example at least two or more, consecutive usage sessions or experiences without having to recharge the battery or the aerosol-generating device in between. To improve user experience, aerosol-generating devices may usually be designed to only allow a user to start a usage session if the battery contains enough electrical energy to fully complete the usage session. During the lifetime of an energy storage, for example with an increase in the number of charge-discharge cycles, the maximum capacity of the energy storage may decrease or decline. This may be called the aging  of the energy storage. The capacity may decrease below the minimum capacity needed to supply the user with at least the minimum number of consecutive usage sessions or experiences without having to recharge the battery or the aerosol-generating device in between. If this happens, the experience of the user may be impaired. It may therefore be necessary for a user to remove an aged battery from the device and replace it with a new energy storage. In other words, the energy storage of the aerosol-generating device may be replaceable, for example a replaceable energy storage or battery, for instance a battery cell, a plurality of battery cells, or a battery module with one or more battery cells therein. In the case that the aerosol-generating device comprises a replaceable battery, the problem arises that the user may choose not to replace the energy storage with a safe, authorized energy storage produced by the manufacturer of the aerosol-generating device or an authorized third-party manufacturer. An authorized energy storage according to the present disclosure therefore means that the energy storage is an official replacement, or an authorized replacement or replacement part and therefore safe to use in the aerosol-generating system. The user may choose to replace the original energy storage with an energy storage by an unauthorized third party, though. Also, an unauthorized third party may try to imitate authorized energy storages and may even try to sell unauthorized energy storages in the guise of authorized energy storages. This raises the problem that operation of the aerosol-generating device using an unauthorized energy storage may pose a danger to the user of the aerosol-generating device and / or may damage the aerosol-generating device, for example by battery expansion or explosion. Unauthorized third-party energy storages which may not fulfill the specification requirements of the aerosol-generating device may, for example heat up unexpectedly or even explode.

[0008] It may therefore be desirable to provide for improved safety both of the user of the aerosol-generating device and the aerosol-generating device itself, especially in the case that the energy storage is replaceable.

[0009] These advantages may be achieved by the features described herein.

[0010] According to an aspect of the present invention, there is provided a computer-implemented method for managing operation of an aerosol-generating system and energy supply by a removably couplable energy storage, wherein the aerosol-generating system comprises processing circuitry including at least one controller and / or processor, the method comprising: providing, by the energy storage, identification information of the energy storage, determining, from the identification information, whether the energy storage is an authorized energy storage or an unauthorized energy storage, and, in the case that the energy storage is determined to be an unauthorized energy storage, operating the aerosol-generating system in a safety mode.

[0011] That the energy storage is removably couplable may mean that the energy storage is a removable or replaceable energy storage. Both the aerosol-generating system and the energy storage may therefore be configured so that the energy storage may be mounted on and electrically connected to the aerosol-generating system as well as demounted from and  electrically disconnected from the aerosol-generating system. The energy storage and / or the aerosol-generating device may be configured in a way that mounting and / or dismounting of the energy storage may be achieved by a user, preferably without the need for special equipment or tools. That the energy storage is removably couplable may mean that the energy storage may be connected to or disconnected from the aerosol-generating system without irreversibly altering or damaging any parts of the energy storage and / or the aerosol-generating system. The energy storage the present disclosure pertains to may be any energy storage that is operatively couplable to the aerosol-generating system, i.e. the aerosol-generating device or companion device. In general, the energy storage the present disclosure pertains to may be an energy storage that is newly coupled to the aerosol-generating system. In other words, the method according to the present disclosure may be performed when, shortly after or immediately after the energy storage is coupled and / or connected to the aerosol-generating system.

[0012] According to the present disclosure, that operation of the aerosol-generating system and / or energy supply by the energy storage is managed may mean that the aerosol-generating system and / or the energy storage is controlled in a way to implement the features of the present disclosure. For example, the aerosol-generating system may be controlled so as to perform steps, operations and calculations as disclosed herein. This may mean, for example, that it is controlled what the aerosol-generating system does and how this is performed. On the other hand, the aerosol-generating system and / or the energy storage may be controlled in view of in which way or in which quality and / or quantity energy is transferred between the aerosol-generating system and the energy storage. The same may be applicable to energy transfer between the energy storage and an external charging device. This will be explained in more detail below.

[0013] The method as disclosed herein may, for example, be performed by the processing circuitry, for example by the controller and / or processor, of the aerosol-generating system, which may comprise any one of the aerosol-generating device, the companion device and / or the energy storage. The processing circuitry, controller and / or processor may, for example, be or be based on a subscriber identity module (SIM) processor or eSIM processor or iSIM processor.

[0014] The identification information may be any kind of information usable to identify, preferably uniquely identify, the energy storage. In other words, the identification information may be any kind of information that may be used to identify or determine whether or not the energy storage is an authorized energy storage. The identification information of the energy storage may be provided by or on the energy storage itself. The identification information may be provided so that it is readable or accessible from outside of the energy storage itself, or actively sent to an external device, for example upon request from an external device, e.g. an aerosol-forming or aerosol-generating device or companion device. For example, the identification information may be viewable or scannable from the outside or may be read from a memory or data storage comprised in the energy storage or its processing circuit. For instance, the identification information may be stored in and / or read from a fuel gauge or battery fuel gauge of the energy storage. Generally,  fuel gauges or battery fuel gauges are electronic circuits that are able to determine a state of charge (SoC) of one or more energy storages such as batteries, and generally include a data processor, memory, and communications interface, for example a I2C bus. In this respect, the fuel gauge or battery fuel gauge and can be used or operated as a processing circuit associated or otherwise in operative connection with the data storage. Fuel gauge and battery fuel gauge are used interchangeably herein. The identification information may comprise any one or combinations of a name of the manufacturer of the energy storage, and date of manufacturing of the energy storage, and identifier of the energy storage, for example a serial number and / or Codentify, electrical parameters of the energy storage, such as a nominal capacity, a maximum capacity, a resistance, for example an inner resistance, an impedance, a ChemID (which may describe a correlation between open-circuit voltage (OCV) and state of charge (SoC) of the energy storage) , a state of health (SoH) , a charge-discharge cycle count, or a total runtime, or a geometrical or three-dimensional shape of the energy storage. Some exemplary embodiments using different kinds of identification information will be further explained below.

[0015] It may be provided that the identification information provided on or obtained from the energy storage is compared to known identification information from authorized energy storages, for example by looking up the identification information of the energy storage in a database, wherein the database comprises identification information of all authorized energy storages. It may be determined that the energy storage is authorized if the identification information provided on or obtained from the energy storage is also present in said database. Conversely, it may be determined that the energy storage is unauthorized if the identification information provided on or obtained from the energy storage is not found in said database. Additionally or alternatively, whether or not the energy storage is authorized may also be determined by subjecting the identification information provided on or obtained from the energy storage to an authentication algorithm. The authentication algorithm may determine whether or not the identification information has been issued by an authorized manufacturer, for example the manufacturer of the aerosol-generating device or companion device. If it is determined that the identification information has been issued by an authorized manufacturer, the energy storage may be determined to be authorized. Conversely, if it is determined that the identification information has not been issued by an authorized manufacturer, the energy storage may be determined to be unauthorized. Exactly how the determination whether or not the energy storage is authorized is provided may depend on the nature of the identification information used.

[0016] When it is determined that the energy storage is an unauthorized energy storage, the method according to the present disclosure may comprise operating the aerosol-generating system in a safety mode. In general, the safety mode may comprise any measure suitable for increasing the safety of the user of the aerosol-generating system and / or the aerosol-generating system itself, and may be an alternative to not operating the aerosol-generating system at all upon a failed authorization or authentication. Examples of these measures will be explained in  more detail below. For instance, the safety mode may comprise placing limits or restraints on the operation of the aerosol-generating system up to preventing the generation of aerosol by the aerosol-generating system, for example by preventing the use of the heating element used to generate aerosol. In the safety mode, operation of the aerosol-generating system may be restricted and / or limited in comparison to nominal operation of the aerosol-generating system, for example operation of the aerosol-generating system when using an authorized energy storage. Additionally and / or alternatively, the safety mode may comprise controlling the aerosol-generating system to perform steps that may not be included in nominal operation of the aerosol-generating system. These steps may, for example, pertain to gathering, storing, sending or displaying information about the operation of the aerosol-generating system. For example, the user may be informed about the operational status of the aerosol-generating system. The user may, for instance, be informed about whether or not the energy storage currently connected to the aerosol-generating device or companion device is an authorized or an unauthorized energy storage. The user may also be informed about which measures according to safety mode are implemented and / or may be informed about where or how they may acquire an authorized energy storage so that the implementation of safety mode may be ended by the user replacing the unauthorized energy storage by an authorized energy storage.

[0017] The aerosol-generating system according to the present disclosure may comprise at least one of an aerosol-generating device and / or a companion device configured to charge an aerosol-generating device with electrical energy and / or the energy storage, the energy storage being removably couplable to the aerosol-generating device and / or the companion device and being configured to charge the aerosol-generating device and / or the companion device with electrical energy. Each of the aerosol-generating device, the companion device or the energy storage alone by itself may therefore constitute the aerosol-generating system. However, the aerosol-generating system according to the present disclosure may comprise any combination of the aerosol-generating device, the companion device and the energy storage, including but not limited to all of the aerosol-generating device, the companion device and the energy storage together. For example, it may be provided that the aerosol-generating system comprises the aerosol-generating device and that it is the aerosol-generating device which comprises the processing circuitry including at least one controller and / or processor and that steps of the method as disclosed herein, preferably all of the steps, are performed by the aerosol-generating device, i.e. the processing circuitry of the aerosol-generating device. As another example, it may be provided that the aerosol-generating system comprises the companion device and that it is the companion device which comprises the processing circuitry including at least one controller and / or processor and that steps of the method as disclosed herein, preferably all of the steps, are performed by the companion device, i.e. the processing circuitry of the companion device. As a further example, it may be provided that the aerosol-generating system comprises the energy storage and that it is the energy storage which comprises the processing circuitry including at least one controller  and / or processor and that steps of the method as disclosed herein, preferably all of the steps, are performed by the energy storage, i.e. the processing circuitry of the energy storage. In general, at least one of the aerosol-generating device, the companion device and the energy storage may need to comprise the processing circuitry performing steps of the method, preferably all of the steps of the method, as disclosed herein. In cases in which the aerosol-generating system comprises at least two of or all of the aerosol-generating device, the companion device and the energy storage, it may also be provided that at least two of or all of the aerosol-generating device, the companion device and the energy storage each comprise processing circuitry performing steps of the method, preferably all of the steps of the method, as disclosed herein. This redundancy may add an additional security layer to the procedure of the present disclosure. Therefore, when the present disclosure mentions the aerosol-generating system, this may pertain to either the aerosol-generating device, the companion device or the energy storage. On the one hand, the aerosol-generating device and / or the companion device may be configured to determine whether or not the energy storage is an authorized energy storage and may further be configured to determine whether not the energy storage fulfils specification requirements as explained further below, and may be configured to determine whether or not safety mode is necessary. On the other hand, the energy storage may be configured to determine whether or not it matches or is authorized for the aerosol-generating device and / or the companion device and may further be configured to determine whether or not it fulfils specification requirements as explained further below, and may be configured to determine whether or not safety mode is necessary. In this case, the step of operating the aerosol-generating system in safety mode may include self-restriction of the operation of the energy storage when safety mode pertains to electrical parameters of the energy storage, for example currents, voltages, capacities or improvement measures as explained herein. Additionally or alternatively, when the safety mode comprises measures taken by the aerosol-generating device and / or the companion device, operating the aerosol-generating system in safety mode may include sending a command signal from the energy storage to the aerosol-generating device and / or the companion device, the command signal indicating to or causing the aerosol-generating device and / or the companion device to implement the measures of safety mode. Measures of safety mode which may be performed by the energy storage, the aerosol-generating device and / or the companion device will be further explained herein and the skilled person will understand which of them may be performed by which component of the aerosol-generating system.

[0018] In the case that the method or steps of the method is performed by the energy storage, the safety mode may comprise turning off a power switch of the energy storage and thereby preventing the supply of electrical energy from the energy storage to an aerosol-generating device or a companion device. This may help in preventing the use of the energy storage in devices for which the energy storage is not authorized and / or not suitable. For instance, the energy storage may comprise a data communication line, which may be configured to establish a data connection  from processing circuitry of the energy storage to the aerosol-generating device and / or the companion device whenever the energy storage is connected to one of these devices. For data communications, a serial communications bus like an inter-integrated circuit (I2C) may be used. The energy storage may use this data communication line to perform steps of the method as described herein and determine whether or not the energy storage is an authorized energy storage for the connected aerosol-generating device or companion device. To react on the result of this determination, energy storage may include a power switch, which may be arranged on a power line connecting the energy storage to the aerosol-generating device or the companion device. For example, the power switch can include one or more transistors, for example a metal oxide semiconductor field-effect transistor (MOSFET) . It may be turned off by default and only turned on upon successful authorization of the energy storage, i.e. when it is determined that the energy storage is authorized. When the energy storage is determined to be unauthorized, the safety mode may comprise turning off the power switch. To achieve this, the processing circuitry of the energy storage may send a control command to the power switch to turn the switch off, i.e. to turn the switch into a disconnected state. On the other hand, when it is determined that the energy storage is authorized, the processing circuitry of the energy storage may send a control command to the power switch to turn the switch on, i.e. to turn the switch into a connected state, thereby allowing use of the energy storage.

[0019] It may be provided that the method according to the present disclosure further comprises reading specification information that specifies the energy storage; determining, from the specification information, whether the energy storage fulfils predetermined specification requirements of the aerosol-generating system, and, in the case that the energy storage is determined not to fulfil the predetermined specification requirements, operating the aerosol-generating system in the safety mode. The specification information may be any information pertaining to the capabilities of the energy storage, for example the current and / or maximum capacity of the energy storage or maximum charge or discharge currents or voltages of the energy storage, as will be further explained below. The specification information may be any information about the capabilities of the energy storage which may be necessary to determine whether or not the aerosol-generating system, i.e. the aerosol-generating device and / or the companion device, may be successfully operated using the energy storage. Accordingly, the predetermined specification requirements of the aerosol-generating system may pertain to requirements the energy storage has to meet so that the aerosol-generating device and / or the companion device may be operated normally, without any restrictions on performance. These specification requirements may therefore be predetermined by the specific build of the aerosol-generating device and / or companion device that the energy storage is connected to. In other words, in principle, if the energy storage meets the predetermined specification requirements, the aerosol-generating system may be operated normally, i.e. without safety mode, for example even in case that the energy storage is unauthorized. Conversely, if the energy storage does not meet the  predetermined specification requirements, the aerosol-generating system may be operated in safety mode. The specification requirements may be stored at the aerosol-generating device and / or the companion device and / or the energy storage or may be retrieved from an online data storage. In case the method according to the present disclosure is performed by the energy storage, the energy storage retrieves the specification requirements from the aerosol-generating device and / or the companion device and / or the online data storage.

[0020] The steps of providing, by the energy storage, identification information of the energy storage and of reading specification information that specifies the energy storage, along with the steps further using the respective information, may be performed in any order. In other words, the method may comprise first providing, by the energy storage, identification information of the energy storage, for example followed by the step of determining, from the identification information, whether the energy storage is an authorized energy storage or an unauthorized energy storage, and then reading specification information that specifies the energy storage, for example followed by the step of determining, from the specification information, whether the energy storage fulfils predetermined specification requirements of the aerosol-generating system. Additionally, the method may comprise first reading specification information that specifies the energy storage, for example followed by the step of determining, from the specification information, whether the energy storage fulfils predetermined specification requirements of the aerosol-generating system, and then providing, by the energy storage, identification information of the energy storage, for example followed by the step of determining, from the identification information, whether the energy storage is an authorized energy storage or an unauthorized energy storage.

[0021] It may be provided that the aerosol-generating system is operated in the safety mode when the energy storage is determined to be any one of an unauthorized energy storage or not to fulfil the predetermined specification requirements as defined by or determined from the specification information. For example, it may be provided that the aerosol-generating system is operated in the safety mode when the energy storage is determined to be unauthorized and not to fulfill the predetermined specification requirements. In this case, the energy storage has been manufactured and / or distributed by a third party and the energy storage’s capabilities do not suffice to operate the aerosol-generating system normally. As another example, it may be provided that the aerosol-generating system is operated in the safety mode when the energy storage is determined to be unauthorized but to fulfill the predetermined specification requirements. In this case, even though the energy storage has the capability of sustaining normal operation of the aerosol-generating system, the energy source may still pose an increased risk of damages to the system or danger to the user because it may be manufactured according to lower quality standards than an authorized energy storage. Operation in the safety mode may therefore be prudent, for example for liability or warranty reasons. Of course, it may also be provided that the aerosol-generating system is operated normally without the safety mode when the energy  storage is determined to be unauthorized but to fulfill the predetermined specification requirements. For example, an unauthorized energy storage may be provided with a quality assurance by a trusted third party, which may be a manufacturer of the energy storage or a controlling entity. In this case, the specification information may comprise quality assurance information issued by the manufacturer or the controlling entity. This quality assurance information may, for example, comprise information about whether or not the energy storage is able to provide a quantitative and / or qualitative experience to the user. For instance, such information may pertain to charging times, maximal heat development, number of heating sessions, maximal safe current for providing a desired heating profile or any of the other parameters as mentioned herein. If this information is issued by a trusted third party, they may substitute or complement the specification information as explained herein and may therefore be used to determine whether or not the energy storage fulfils the predetermined specification requirements. As another example, it may be provided that the aerosol-generating system is operated in the safety mode when the energy storage is determined to be authorized but not to fulfill the predetermined specification requirements. This case may come to pass when an energy storage configured for use in the aerosol-generating device is used in the companion device or vice versa. In this case, as the energy storage is authorized, it is known that it fulfills quality standards set by the manufacturer of the aerosol-generating device and / or companion device. The safety mode may thus be used to adapt the operation of the aerosol-generating system so that operation is still allowed, albeit in safety mode, even though the predetermined specification requirements are not met. By using the safety mode, any risk or danger to the user and to the devices may be prevented. Lastly, it may of course also be provided that the aerosol-generating system is operated normally, without the safety mode, when the energy storage is determined to be authorized and to fulfill the predetermined specification requirements. In this case, it can be assumed that the energy storage has been produced according to the quality standards of the manufacturer of the aerosol-generating device and / or companion device.

[0022] According to aspects of the present invention, it may be provided that the specification information of the energy storage is read from any one of the energy storage, a memory of the companion device, a memory of the aerosol-generating device, or a memory of the processing circuitry or from a remote device via a wireless or wired connection, such as an online data storage. For example, the specification information may be read from a data storage or a memory of the energy storage or the processing circuitry, for example the processing circuitry of the energy storage, the aerosol-generating device or the companion device. For example, the specification information, especially the specification information of authorized energy storages, may be stored in a database in connection with the identification information of the energy storage. Therefore, the energy storage, the aerosol-generating device and / or the companion device may be configured to look up the specification information in a database. The database may, for example, be stored in the processing circuitry, for example a memory of the processing circuitry, and / or a  battery fuel gauge of the aerosol-generating device, the companion device or the energy storage. Alternatively, the database may also be stored in a remote device, such as an online data storage, for example a web server or a cloud service, which may, for example, be maintained by the manufacturer of the energy storage and / or the aerosol-generating device and / or the companion device. In this case, access to the database may be provided via an internet connection, for example a wireless internet connection, which may be provided by the aerosol-generating system itself or a computing device of the user, for example a smartphone, smart watch, tablet computer, desktop computer, laptop computer, smart television etc. In the case that the specification information comprises technical parameters, for example electrical parameters, of the energy storage, the specification information may also be read from the energy storage directly. For example, the processing circuitry may determine parameters like the capacity of the energy storage, voltages and currents when charging or discharging the energy storage, an energy storage capacity and an impedance of the energy storage directly at the level of the energy storage itself, for example by monitoring these parameters or determining these parameters from collected values provided by a charging circuit and / or a battery fuel gauge of the energy storage and / or the aerosol-generating system. In other words, the specification information of the energy storage may be collected or read from a testing circuit or sensing circuit, for example a charging circuit and / or a battery fuel gauge of the energy storage and / or the aerosol-generating system, for example by providing a testing method for gathering parameters of the energy storage to determine the specification information, upon a first use of the energy storage, the method being performed by one or more devices of the aerosol-forming or aerosol-generating system. Specifically, the charging circuit and / or the battery fuel gauge may be provided on the energy storage, the aerosol-generating system, or both. Either way, the mentioned parameters may be read or determined from the energy storage. Thus, the present disclosure provides an indirect way of obtaining the specification information specifying the energy storage, namely by reading or obtaining the specification information from a data storage or memory. On the other hand, there is also provided a direct way of obtaining the specification information by directly testing the energy storage or determining technical or electrical parameters of the energy storage, for example through a charging circuit and / or battery fuel gauge, which may for example be provided at the energy storage and / or the aerosol-generating system.

[0023] Returning to the identification information and the determination whether or not the energy storage is authorized, it may be provided that said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes authenticating the energy storage by using one or more keys. For example, the identification information read from or provided by the energy storage may comprise one or more keys. A key may be any string of numbers, letters and / or symbols. The key may be stored at or on the energy storage or the key may be determined by the energy storage, for example by hashing or encrypting data received from another device, for example the aerosol-generating device or the companion device. The  one or more keys may therefore act as a password which, when determined to be correct, authenticate the energy storage. In a possible implementation, the key may be stored in a battery fuel gauge of the energy storage.

[0024] As a specific example, it may be provided that said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes: receiving a first key at the processing circuitry, determining a first authentication code from the first key and a second key stored in the processing circuitry, wherein the identification information of the energy storage includes a second authentication code, and comparing the first authentication code and the second authentication code, wherein the energy storage is determined to be authorized when the first authentication code and the second authentication code match each other. For example, the processing circuitry of the energy storage may receive the first key, for example from the aerosol-generating device or the companion device. The processing circuitry of the energy storage may then use the first key to determine the first authentication code, for example by combining the first key with a second key stored in the processing circuitry and / or the fuel gauge of the energy storage, through an algorithm. Additionally, there may be provided a second authentication code included in the identification information of the energy storage, for example stored in the fuel gauge. Whether or not the energy storage is authorized can then be determined by comparing the first authentication code and the second authentication code. If the first authentication code and the second authentication code match each other, for example because they are identical, the energy storage is authorized.

[0025] Determining whether or not the energy storage is authorized may also be performed by the aerosol-generating device and / or the companion device. For this, it may be provided that the processing circuitry, for example the processing circuitry of the aerosol-generating device and / or the companion device, sends a first key to the energy storage and determines a first authentication code from the first key and a second key stored in the processing circuitry of the aerosol-generating device and / or the companion device. Further, the identification information of the energy storage may include a second authentication code read from the energy storage, for example a battery fuel gauge of the energy storage, after the energy storage received the first key. The energy storage may be configured to determine the second authentication code from the first key and a second key stored in or at the energy storage, as explained above. The processing circuitry, for example the processing circuitry of the aerosol-generating device and / or the companion device, may then receive the second authentication code from the energy storage. Determining whether the energy storage is an authorized energy storage or an unauthorized energy storage may then include comparing the first authentication code and the second authentication code, wherein the energy storage is determined to be authorized when the first authentication code and the second authentication code match each other. In this case, it may be concluded that the second key used to determine the first authentication code by the aerosol-generating device and / or companion device is identical to the second key used to determine the  second authentication code by the energy storage. Also, it may be concluded that the way, for example the algorithm, of determining the first authentication code is identical to the way, for example the algorithm, of determining the second authentication code. This is the case when the energy storage is an authorized energy storage, which may therefore be determined in this way.

[0026] Determining whether or not the energy storage is authorized may also be performed online, for example on a server device such as a web server or a cloud service. For this, it may be provided that the server device sends a first key to the energy storage and determines a first authentication code from the first key and a second key stored in the server device. Further, the identification information of the energy storage may include a second authentication code read from the energy storage, for example a battery fuel gauge of the energy storage, after the energy storage received the first key. The energy storage may be configured to determine the second authentication code from the first key and a second key stored in or at the energy storage, as explained above. The server device may then receive the second authentication code from the energy storage. Determining whether the energy storage is an authorized energy storage or an unauthorized energy storage may then include comparing the first authentication code and the second authentication code as explained above. This online determination using the keys may be used separately or may be combined with the online comparison of historic life cycle data as explained below in more detail.

[0027] As mentioned above, the first authentication code and / or the second authentication code may be determined by the use of an algorithm to combine the first key and the second key. For instance, it may be provided that the first authentication code and / or the second authentication code are determined by encrypting or hashing the first key and the second key, for example by any one of secure hash algorithm (SHA) , advanced encryption standard (AES) , hash-based message authentication code (HMAC) , HMAC-SHA, in particular HMAC-SHA256, HMAC-based key derivation function (HKDF) , cyclic redundancy check (CRC) , and Rivest-Shamir-Adleman (RSA) . However, any suitable algorithm for encrypting or hashing the first key and the second key in a way to provide the first and / or second authentication code may be used. The selection of a specific algorithm may depend on how secure the procedure needs to be and also on computing power and / or software and / or hardware available in the respective processing circuits.

[0028] The present disclosure also provides for the possibility that a third party may try to circumvent the energy storage identification according to the aspects of the present disclosure. For example, the third party may try to remove the identification information or a circuitry containing the identification information, for example processing circuitry or other identifying features like a memory or data storage, from an authorized energy storage and use them on an unauthorized energy storage to thereby pass the unauthorized energy storage off as authorized. However, it may still be possible to differentiate between an authorized energy storage and this case. To this end, the method according to the present disclosure may comprise storing, during use of the aerosol-generating system, historic life cycle data of the energy storage in the  processing circuitry and / or an online data storage, such as a web server or a cloud service. Historic life cycle data may be stored continuously or in intervals, for example each time that the aerosol-generating device is used to generate aerosol, i.e. each usage session. In this way, information about the last saved life cycle status of the energy storage is available, provided by the historic life cycle data and therefore stored externally from the energy storage. It may further be provided that the identification information of the energy storage includes an energy storage identifier and current life cycle data of the energy storage. The energy storage identifier may be any data or string, which identifies, preferably uniquely identifies, the energy storage. The current life cycle data pertains to up-to-date information about the life cycle status of the energy storage currently read from or provided by the energy storage. Said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage may then include comparing the current life cycle data provided in the identification information and the historic life cycle data stored in the processing circuitry and / or the online data storage for the energy storage identifier of the energy storage. In other words, the up-to-date information about the life cycle status of the energy storage currently read from or provided by the energy storage is compared to the last saved life cycle status of the energy storage provided by the historic life cycle data. It may then be determined that the energy storage is authorized when the life cycle data read from the energy storage and the life cycle data stored in the processing circuitry and / or the online data storage match each other. In other words, it may then be determined that the energy storage is authorized when the current life cycle data and the historic life cycle data match each other. This is naturally always the case when the energy storage identifier is always associated with the same energy storage or energy storage cell (s) or battery cell (s) . Conversely, it may be determined that the energy storage is unauthorized when the current life cycle data and the historic life cycle data do not match each other. Such a discrepancy can only be explained by the energy storage identifier being used with a different energy storage that is at a different point in its life cycle, for example because a third party tries to pass off an unauthorized energy storage as an authorized one by recycling the energy storage identifier of the authorized energy storage. In addition to the historic life cycle data, any one or any combination of parameters from the identification information and the specification information mentioned herein may also be sent to the online data storage. The online data storage may compare these values with values stored previously, for example simultaneously with the historic life cycle data. Discrepancies determined in this way may also lead to discovering an unauthorized energy storage.

[0029] The energy storage identifier may, for example, be a serial number or a Codentify. Alternatively, any string of numbers, letters or symbols may be used that is suitable to uniquely identify the energy storage.

[0030] The life cycle data on the energy storage may include at least one of a maximum capacity of the energy storage, an internal resistance of the energy storage, a voltage profile during charging and / or discharging of the energy storage, a current profile during charging and / or  discharging of the energy storage, a temperature or temperature profile as a function of the discharge and charge current, a state of charge of the energy storage, and a state of health of the energy storage. These parameters may be determined from a charging circuit and / or a fuel gauge of the energy storage and / or the aerosol-generating system, or by a temperature sensor, and may therefore be determined from the energy storage itself. They may be used to identify if the energy storage, for example the cell or cells, meaning the electrochemical cells, has been changed or tampered with. Therefore, an unauthorized third party energy storage, particularly cell (s) of the energy storage, may be identified even if the third party tries to use authentic identification information, for example energy storage identifiers, to pass off the energy storage as authorized.

[0031] The identification information may be provided on the energy storage in different manners. Some of them are explained in more detail herein. It is pointed out that these options and features are not mutually exclusive and that they may be freely combined in any combination.

[0032] For example, it may be provided that said step of providing identification information of the energy storage includes providing an identifier of the energy storage, for example the previously mentioned energy storage identifier, by a radio-frequency identification (RFID) device. The RFID device may be, for example, a near field communication (NFC) device. The RFID device may be passive or active. Said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage may include determining whether the identifier provided by the energy storage matches an identifier of an authorized energy storage. As previously explained, this may be performed by comparing the identifier provided by the energy storage to a database, for example a database stored in the processing circuitry or online.

[0033] In another example, said step of providing identification information of the energy storage may include measuring an impedance of the energy storage, an electric circuit, or both. According to the present disclosure, impedance may mean the electrical impedance and / or the electrical resistance of the energy storage. This may also be measured by or at the charging circuit and / or battery fuel gauge of the energy storage and / or the aerosol-generating system. The measurement may be performed or controlled by the processing circuitry. Further, said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage may include determining whether the impedance of the energy storage, the electric circuit, or both, matches an impedance of authorized energy storages, for example a reference value for the impedance of authorized energy storages, preferably within a predetermined tolerance interval. It is also possible that a passive or active electric or electronic circuit, for example an identification circuit, is included with the energy storage, or operative connection with the energy storage, as a separate element solely used for authentication purposes, having at least different passive elements, for example one or more resistors R, one or more capacitors C, and one or more inductances L, to provide for a defined impedance and therefore frequency response that can be made unique to an authorized energy storage or a group or category of authorized energy  storages, thereby serving as electric identification circuit. Based on a signal that is applied to the passive electronic circuit, a response can be read and analyzed, to determine whether the energy storage is authorized. As with the identifier, the measured impedance of the energy storage, the electric circuit, or both, may be compared to a database, for example a database stored in the processing circuitry or online, wherein the database comprises impedance values or reference values of impedances of authorized energy storages and / or their respective circuits, for example identification circuits as explained above. Because the measurement of the impedance may be influenced by various factors, for example environmental factors, preferably a predetermined tolerance interval is used. For example, predetermined tolerance interval may be 1%or 5%or 10%or 15%or 20%. If the measured value of the impedance differs from impedance values of authorized energy storages, the electric circuit, or both, at most by the predetermined tolerance interval, preferably in either direction, then the energy storage is still considered to be authorized.

[0034] More specifically, measuring the impedance of the energy storage or the passive electronic circuit, or both, may include measuring the impedance response of the energy storage, the electric circuit, or both, to an alternating voltage or current of at least one frequency or to alternating voltages or currents of at least two different frequencies or to alternating voltages or currents of at least one or more frequency ranges. The frequency, frequencies, frequency range or frequency ranges may be predetermined so as to make the measured results comparable. In other words, the impedance of the energy storage, the electric circuit, or both, may be measured using the same frequency, frequencies, frequency range or frequency ranges as were used to create the reference values of impedance of authorized energy storages and / or their respective circuits. By using more than one frequency, a frequency range or even more than one frequency ranges, the accuracy of the result may be increased.

[0035] The results for the impedance response of the energy storage or passive electronic circuit, or both, may be compared to the impedance of authorized energy storages by any suitable means. For example, said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage may include creating a Bode plot and / or a Nyquist plot of the impedance response and determining whether the Bode plot and / or the Nyquist plot of the impedance response of the energy storage matches Bode plots and / or Nyquist plots of authorized energy storages and / or their respective circuits. In this case, the reference values of impedance of authorized energy storages may also be provided as Bode plots and / or Nyquist plots. There are robust and accurate tools available for comparing these plots so that very reliable results of whether or not the impedance response of the energy storage matches the one of authorized energy storages may be achieved.

[0036] In another example, said step of providing identification information of the energy storage may include reading an identifier of the energy storage, for example the energy storage identifier mentioned above, from an optically readable marking, for example a barcode, a matrix code or a quick response (QR) -code. This may be achieved for example by using an optical reader, for  example a camera, to read the marking. The camera may be comprised by the aerosol-generating device and / or the companion device and / or another device having a data connection to the aerosol-generating device and / or the companion device and / or the energy storage. For example, the camera or other type of optical reader may be arranged inside an enclosure that is configured to at least partially receive the energy storage, for example in the coupling region mentioned further below. The camera may be arranged such that the optically readable marking on the energy storage comes to rest inside the field of vision of the camera when the energy storage is at least partially inserted into the enclosure of the aerosol-generating device and / or the companion device. Said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage may include determining whether the identifier read from the energy storage matches an identifier of an authorized energy storage. Again, this may be achieved by comparing the identifier with a database as explained above.

[0037] In a further example, the identification information of the energy storage may include a predetermined three-dimensional or geometrical shape of the energy storage. For example, the energy storage may comprise protrusions and / or depressions configured so that the energy storage may only fit and / or be electrically connected to an aerosol-generating device and / or a companion device correspondingly configured to at least partly receive and / or be electrically connected to an energy storage of exactly this three-dimensional or geometrical shape. In other words, the energy storage may be configured as a key only fitting a correspondingly configured lock, the lock being implemented by a correspondingly shaped aerosol-generating device and / or companion device. The aerosol-generating device and / or a companion device may therefore comprise corresponding protrusions and / or depressions matching the ones of the energy storage like an imprint. Said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage may include determining whether the three-dimensional shape of the energy storage is complementary to a three-dimensional shape of a coupling region of an aerosol-generating device or a companion device configured to charge an aerosol-generating device with electrical energy. The coupling region may be the region of the aerosol-generating device and / or companion device in which the corresponding protrusions and / or depressions matching the ones of the energy storage are arranged. Therefore, the coupling region may be configured to receive the protrusions and / or depressions of the energy storage. Only when the shape of the energy storage fits or matches the shape of the aerosol-generating device and / or the companion device is the energy storage determined to be authorized. Different strengths of security of this example may be achieved by using different tolerance measures for the fit between the energy storage and the aerosol-generating device and / or the companion device. It is also possible that the predetermined three-dimensional or geometrical shape is optically read to determine authenticity of the energy storage.

[0038] Turning now to the specification information and the determination of whether or not the energy storage fulfils predetermined specification requirements, the method according to the  present disclosure may provide that said step of determining whether the energy storage fulfils predetermined specification requirements includes comparing the read specification information to the predetermined specification requirements or specification information of energy storages fulfilling the predetermined specification requirements. The predetermined specification requirements may represent the minimum capabilities of the energy storage to be able to sustain normal operation of the aerosol-generating device and / or the companion device. For example, the predetermined specification requirements may pertain to electrical parameters or capabilities of the energy storage. As these parameters or capabilities may be typically expressed as numerical values, it may be provided that a predetermined tolerance interval is employed for specification information and / or specification requirements comprising numerical values. The predetermined tolerance interval may, for example, 1%or 5%or 10%or 15%or 20%. The read specification information is determined to fulfill the specification requirements when the read specification information differs at the most by the predetermined tolerance interval from the predetermined specification requirements and / or the specification information of energy storages fulfilling the predetermined specification requirements.

[0039] In general, the specification information of the energy storage, or the specification information specifying the energy storage, may include one or more different pieces of information or data. Herein, a plurality of examples are given. The specification information of the energy storage may include any one or any combination of the examples given in this disclosure. For instance, the specification information of the energy storage may include a name of the manufacturer of the energy storage, and date of manufacturing of the energy storage and an identifier of the energy storage, for example a serial number and / or Codentify. As explained above, these examples may also be included in the identification information of the energy storage. It is possible that these examples are included both in the identification information and the specification information. However, the present disclosure explicitly also includes the case in which the identification information and the specification information are non-overlapping. In other words, the identification information and the specification information may be different from each other, meaning that information already available in the identification information is not included in or is excluded from the specification information and vice versa.

[0040] The specification information may include capability information about energy storage infrastructure included in or with the energy storage in addition to the energy storage cell (s) , for example the electrochemical battery cell (s) , storing the electrical energy. For example, the specification information may include whether and not the energy storage includes a battery fuel gauge. A battery fuel gauge of the energy storage is a sensor used to determine the state of charge (SOC) of the energy storage. This may, for example, be determined from the voltage currently available at the energy storage. Other approaches may include a process known as coulomb counting. Therefore, the battery fuel gauge, if available, may provide different measurements that in turn provide information about the energy storage itself. The presence or  absence of a battery fuel gauge therefore may be an important factor for the specification information of the energy storage.

[0041] Another capability information about energy storage infrastructure that may be included in the specification information may be whether or not the energy storage includes a temperature sensor. As many parameters of the energy storage, including voltages and currents providable, depend on temperature, the availability of a temperature sensor may also be an important factor when discussing the capabilities or specification of the energy storage. Absence of a temperature sensor may result in incapability of using temperature-dependent charging settings which would normally be required from the energy storage and therefore pose a potential safety risk. The temperature sensor may, for example, be a negative temperature coefficient (NTC) thermistor.

[0042] In the case that the energy storage includes a temperature sensor, the specification information may also comprise one or more temperature profiles of the temperature of the energy storage under load. For example, the specification information may comprise a temperature profile of the temperature of the energy storage while charging and / or discharging. The temperature profile may be taken during normal operation of the aerosol-generating system or may be taken during a measuring cycle, in which the energy storage is charged or discharged in a set, predetermined speed and / or time or with a set, predetermined current and / or voltage. The temperature profiles may then be compared to temperature profiles of energy storages fulfilling the specification requirements. The temperature of the energy storage may be important for safe operation of the system or device, especially since the device itself may also include a heater that can provide for additional heating of the energy storage. Thus, temperature profiles as mentioned above may be useful to determine whether safety temperature threshold values of the system will be exceeded or not. Additionally or alternatively, the specification information may also comprise a resistance value of the temperature sensor, for instance the NTC thermistor, for example measured together with a temperature value or temperature range of the sensor. For example, the resistance of the temperature sensor may be measured together with the temperature. A nominal range for the resistance value of the temperature sensor, for example at specific temperatures or within a temperature range, may be given and may be used in determining whether the resistance value of the temperature sensor is in specification or out of specification.

[0043] Further, the specification information may also pertain to parameters directly related to the energy storage itself and its capabilities. For example, the specification information may include a nominal maximum capacity of the energy storage, for example measured in ampere-hours (Ah) . The nominal maximum capacity may be the capacity of the energy storage when it is new and fully charged. During use of an energy storage and with an increase of charge-discharge cycles, the energy storage may age and the maximum capacity of the energy storage may fall below the nominal maximum capacity. Therefore, the specification information may also include an actual maximum capacity of the energy storage. This may also be measured as the state of health (SOH) of the energy storage, which may be defined as the actual maximum capacity of the energy  storage divided by the nominal maximum capacity, for example expressed as a percentage. Thus, the specification information may also include the state of health of the energy storage. The actual maximum capacity of the energy storage may be measured before the energy storage has undergone a predetermined amount of charge-discharge cycles. As aging of the energy storage depends on a plurality of factors, the effect of aging on the maximum capacity of the energy storage may be more meaningful at the beginning of the aging process, meaning before the energy storage has undergone a predetermined amount of charge-discharge cycles. The predetermined amount of charge-discharge cycles may, for example, be 10 cycles or 50 cycles or 100 cycles or 300 cycles or 500 cycles or 1000 cycles.

[0044] In another example, the specification information may include a maximum charging voltage of the energy storage. The maximum charging voltage of the energy storage may the voltage during the constant voltage regulation mode of charging the energy storage. Further, the specification information may include a maximum charging current of the energy storage. The maximum charging current of the energy storage may be the current during the constant current regulation mode of charging the energy storage. The specification information may also include an end-of-discharge voltage of the energy storage. This may be a voltage below which the energy storage should typically not be discharged so as not to accelerate aging of the energy storage. As another example, the specification information may include a maximum discharging current of the energy storage. The specification information may also include an internal resistance and / or an impedance of the energy storage. The maximum discharging current and / or the internal resistance and / or the impedance of the energy storage may also be measured before the energy storage has undergone a predetermined amount of charge-discharge cycles, as explained above.

[0045] As an additional example, the specification information may also pertain to battery protection settings. These settings may, for example, be realized by a specific configuration of the charging circuit and / or by a specific configuration of a processing circuitry, for example a controller, of the energy storage, for example through a soft-or firmware. Battery protection settings which may be included in the specification information may, for example, be settings pertaining to at least one of over-voltage, under-voltage, over-current, short-circuit, low voltage charging prohibition, over-temperature, under-temperature, pre-charge timeout and fast charge timeout. As these settings may be specific for the type of energy storage used, they may also be useful in determining the capabilities of the energy storage.

[0046] As mentioned above, the specification information may include any one and any combination of the examples given herein. The specification information may therefore include two or more or a plurality of the aspects of the energy storage mentioned in the examples. In the case that the specification information of the energy storage pertains to at least two aspects of the energy storage, these aspects may be differently weighted. For example, different aspects as included in the specification information may be given different importance and may therefore be differently reflected in the measures included in the safety mode. As a specific example, when  the specification information includes whether or not the energy storage includes a battery fuel gauge and it is determined that the energy storage does not include a battery fuel gauge, this may be given a lot of weight, for example resulting in the safety mode comprising preventing the aerosol-generating device from generating aerosol and / or preventing the companion device from charging the aerosol-generating device with electrical energy. In other words, when the energy storage does not include a battery fuel gauge, operation of the aerosol-generating system may be stopped or prevented. The same applies to cases in which the energy storage does not include a temperature sensor. In the given examples, the lack of a battery fuel gauge or temperature sensor are weighted to be very important and therefore lead to a strong limitation of operation of the aerosol-generating system. As another example, the specification information may include information about the maximum charging voltage / current of the energy storage. If these values lie below the predetermined specification requirements, the aerosol-generating system may be operated in safety mode, albeit with less restrictions or limitations. For example, the safety mode may allow the aerosol-generating device to generate aerosol and / or allow the companion device to charge the aerosol-generating device with electrical energy. However, the safety mode may comprise restricting the speed of charging the energy storage, for example. In this case, while the operation of the aerosol-generating system is generally allowed, it may be limited in comparison to operation outside of the safety mode. It may be provided that when the specification information comprises more than one aspect, the safety mode may be configured according to the aspect having the most weight or deemed the most important. In other words, the safety mode may always comprise the harshest measures, limitations or restrictions according to any one of the aspects comprised in the specification information. For example, when the specification information includes both the maximum charging voltage / current of the energy storage and the fact that the energy storage lacks a battery fuel gauge, the safety mode may comprise stopping or preventing operation of the aerosol-generating system. Not only the mentioned examples, but all of the examples given herein may be differently weighted when they are included in the specification information.

[0047] Each of the aspects included in the specification information may be assigned a numerical value representing whether or not and / or to what degree the respective aspect of the energy storage fulfils the predetermined specification requirements. It may then be provided that a numerical score is determined from the specification information, for example as a sum or a mean value of the numerical values assigned to each aspect. The numerical score may therefore represent all of the aspects included in the specification information together. Determining whether the energy storage fulfils predetermined specification requirements of the aerosol-generating device or the companion device may then include determining to which degree the numerical score matches a predetermined score. The predetermined score may be the score an energy storage fulfilling all of the predetermined specification requirements has. Therefore, by comparing the numerical score with the predetermined score, it may be determined to which  degree the energy storage fulfils the predetermined specification requirements. Therefore, the numerical score may be used to determine which measures or which limitations or which degree of limitation the safety mode should include. Operating the aerosol-generating device or the companion device in a safety mode may thus be adapted to the degree to which the numerical score matches the predetermined score.

[0048] According to some embodiments of the present disclosure, information or data pertaining to the identification information and / or the specification information may be read or requested by the processing circuitry. For example, the processing circuitry of the aerosol-generating device and / or the companion device may read or request information or data from the energy storage, for example from a charging circuit and / or a battery fuel gauge and / or the processing circuitry of the energy storage. Some of the data may also be read or requested from a battery fuel gauge provided in the aerosol-generating system, which may be used to determine values of parameters of the energy storage, for example any one or any combination of voltages, currents, capacity, and impedance. Conversely, the processing circuitry of the energy storage may read or request information or data from the aerosol-generating device and / or the companion device or the processing circuitry of the aerosol-generating device and / or the companion device. This reading or requesting of information can of course only succeed when the other side, of which the information is read or requested, can handle these requests or can be read in the assumed manner. If this is not the case then the information cannot be read or the requests for information are not properly answered. In this case, it has to be assumed that the pairing of energy storage and aerosol-generating device and / or companion device is incorrect and that an unauthorized energy storage and / or an energy storage not fulfilling the specification requirements is being used. It may therefore be provided that the energy storage is determined to be an unauthorized energy storage when said step of providing the identification information of the energy storage fails or the result is unintelligible. Also, it may be provided that the energy storage is determined not to fulfil the predetermined specification requirements when the reading of the specification information of the energy storage fails or the result is unintelligible. In these cases, use of safety mode is indicated, if an operation of the aerosol-generating device and / or the companion device is at all possible.

[0049] In general, the safety mode may comprise any measures or limitations on the operation of the aerosol-generating system that may improve the safety of the user or the system itself, or both, despite the energy storage not being authorized and / or not fulfilling the specification requirements. In case that it is determined that a safe operation of the aerosol-generating system is not possible, it may be provided that operating the aerosol-generating system in the safety mode includes preventing operation of the aerosol-generating system to generate aerosol or preventing a charging of the aerosol-generating system with electrical energy. In other words, the operation of the aerosol-generating system may be stopped completely in cases that the energy storage used is deemed too unsafe for continued operation, for example in a so-called strict safety  mode. However, this is only the worst-case scenario and the safety mode may comprise one or more measures that limit or restrict operation of the aerosol-generating system without stopping or preventing the operation completely.

[0050] Some exemplary measures which may be comprised or included in the safety mode are outlined herein. However, any combination of two or more of these measures may also be included in the safety mode. For example, operating the aerosol-generating system in the safety mode may include presenting a warning to the user, for example a visual, acoustic or haptic warning. The warning may be presented to the user by the aerosol-generating system, for example by the aerosol-generating device or the companion device or the energy storage. For instance, the warning may be presented to the user through a display, for example a touchscreen, an LED, a vibration motor, a loudspeaker or any other suitable device. The warning may also be transmitted from the aerosol-generating system to an external computing device, for example a smart phone, a smart watch, a tablet computer, a desktop computer, a laptop computer, a smart television or any other suitable device which may then display the warning to the user. The warning may, for example, include the information that the energy storage is an unauthorized energy storage and / or that the energy storage does not fulfill the predetermined specification requirements. Also, the warning may include information about the safety mode and which measures, restrictions or limitations the safety mode comprises.

[0051] Operating the aerosol-generating system in the safety mode may also include requiring a user to actively consent to the continued operation of the aerosol-generating system. For example, the processing circuitry may require the user to actively input a control command, for example via an input device, signifying that the user understands that the energy storage is not authorized and / or does not fulfill the specification requirements and that the user still wants to continue using the aerosol-generating system, even if that means reduced safety for himself and / or the system.

[0052] As another example, operating the aerosol-generating system in the safety mode may include presenting a user with a suggestion to acquire an authorized energy storage. The suggestion may also include at least one information on how, where and when to acquire an authorized energy storage. Also, the suggestion may comprise information on why an authorized energy storage is preferable to the energy storage currently in use. This information may, for example, be adaptive to the identification information and / or specification information so that the user may be presented with information particularly pertaining to the energy storage currently in use. For example, the user may be presented with information on where in his vicinity a retailer may be found that sells authorized energy storages. Also, the user may be presented with information pertaining to an online shop delivering authorized energy storages to where the user is or lives.

[0053] There are a lot of possibilities how the operation of the aerosol-generating system may be restricted or limited in safety mode. For example, operating the aerosol-generating system in the safety mode may include limiting a charging set-up of the energy storage, and for example thereby  forcing the energy storage to be charged slower than an authorized energy storage. The charging set-up may, for example, pertain to any one or any combination of the charging current, the termination current, the precharge current, the regulation voltage or similar charging parameters. Also the state of charge or capacity the energy storage is recharged to, for example in each recharging operation, may be limited. This may increase energy storage lifetime. As another example, the charging set-up providable from an energy storage of the companion device to charge an aerosol-generating device may also be limited, which also makes charging of the aerosol-generating device by the companion device slower than when using an authorized energy storage. Again, the charging set-up may, for example, pertain to any one or any combination of the charging current, the termination current, the precharge current, the regulation voltage or similar charging parameters. Further, the heating temperature of a heater or heater device or heating element of the aerosol-generating device may be limited, which reduces peak loads on the energy storage. It may also be provided that the number of usage sessions providable to a user before having to recharge the energy storage may be limited. The number of usage sessions providable to a user during a predetermined time period may also be limited. The predetermined time period may, for example, be a quarter of an hour or half an hour or one hour or 3 hours or 6 hours or 12 hours or one day. Additionally or alternatively, the frequency of usage sessions providable to a user may be limited. As another aspect, the duration of a user session or a puff count of the usage session may be shortened, or a number of puffs per given time can be limited or decreased as compared to normal operation, e.g. the puff frequency, a puff duration can be limited, puff volume or quantity could be limited, etc. For example, a volume, intensity, power, energy or quantity of an individual puff taken by a user may be limited. This may, for example, be provided in aerosol-generating devices that control when and how long a user may puff on the aerosol-generating article or substrate. For example, activation of the heating element, which may be triggered by the first puff or draw by the user, may be maintained for a predetermined amount of time. In this time, aerosol is generated and the user may puff or draw on the device or article or substrate to inhale the aerosol. As the puffs may therefore be controlled by the system itself, for example the aerosol-generating device, the limitations or restrictions to the puffs may be easily applied through programming executed by the controlling circuit. The puff count may describe the amount of draws or drags on the aerosol-generating device providable to a user per usage session. In other words, therefore, it may be provided that safe mode comprises enforcing a resting time, particularly a longer resting time than outside of safe mode, between user sessions or puffs. These examples pertaining to user sessions may reduce the overall load on the energy storage and may increase resting times, thus reducing the strain on the energy storage. Also, these examples may be particularly advantageous when implemented in e-cigarettes or e-vapor devices.

[0054] Another example may be that operating the aerosol-generating system in the safety mode may include performing an energy storage improvement operation, for example performing a  charge-discharge cycle between predetermined state of charge and / or capacity boundaries. For instance, the energy storage may be discharged to a lower threshold and then recharged to an upper threshold. The lower threshold may, for example, be 10%or 15%or 20%or 25%or 30%state of charge. The upper threshold may, for example, be 70%or 75%or 80%or 85%or 90%state of charge. Such a charge-discharge cycle may be beneficial for overall energy storage lifetime and may slow the aging of the energy storage. For example, the energy storage improvement operation may be performed when the aerosol-generating system is not used by the user, for example during the night. It may be provided that the energy storage improvement operation is repeated regularly, for example that an energy storage improvement operation is performed every day or every week or every month. Also, an energy storage improvement operation may include one or more of the described charge-discharge cycles.

[0055] Operating the aerosol-generating system in the safety mode may further include storing or updating or sending information pertaining to a warranty duration, for example a warranty duration of the aerosol-generating device and / or the companion device. The information may, for example, be sent to a server device, for example a web server or a cloud service, of the manufacturer of the device. For example, when an unauthorized energy storage and / or an energy storage not fulfilling the specification requirements is used, the duration of the warranty may be shortened. The user may be presented with an information about the warranty duration and particularly about the change in the warranty duration because of the use of the energy storage. In another example, in the safety mode, usage data related to the use of an unauthorized battery and / or a battery not fulfilling the predetermined specification requirements may be stored or updated. This information may also be stored in an online data storage, for example on a server device, a web server or a cloud service, of the manufacturer of the device. In this way, the manufacturer may collect information about what kinds of energy storages are used in the devices, which may enable the manufacturer to improve user safety in the long run.

[0056] As mentioned before, the aerosol-generating system may be operated in the safety mode when the energy storage is determined to be an unauthorized energy storage and to fulfil the predetermined specification requirements. In this case, it may be sufficient to use a less restrictive or less limiting safety mode, which may, for example, only include an information about the energy storage being presented to the user and maybe requiring his active consent to continued operation, for example for liability reasons.

[0057] Although the present disclosure focuses on the procedure that may need to be implemented in the cases that unauthorized energy storages and / or energy storages not fulfilling the specification requirements are used, it may also be beneficial to monitor cases in which authorized energy storages are employed. For example, the method according to the present disclosure may comprise storing, in the processing circuitry and / or an online data storage, a date and / or a time of coupling of the energy storage to an aerosol-generating device or a companion device when  the energy storage is determined to be an authorized energy storage. The online data storage may again be a web server or a cloud service of the manufacturer.

[0058] The method may further comprise storing, in the processing circuitry and / or the online data storage, information about how the energy storage was acquired when the energy storage is determined to be an authorized energy storage. For example, the information may contain whether the energy storage was bought in a retail store, and particularly in which retail store, or whether the energy storage was bought online, and particularly in which online store. In this way, when the energy storage has degraded to a predetermined degree, the method may comprise presenting to a user a suggestion of acquiring a replacement energy storage in the same way, for example in the same retail or online store that the user used before. The predetermined degree, expressed as the state of health (SOH) of the energy storage, which may be defined as the current maximum capacity of the energy storage divided by the nominal maximum capacity of the energy storage, may be, for example, 90%or 85%or 80%or 75%or 70%or 65%or 60%or 55%or 50%. In this way, the compliance of the user to replace the energy storage may be improved, thereby improving user and device safety.

[0059] To even further improve the compliance of the user to replace energy storages that may represent a danger to the user or to device itself because of aging, the user may be rewarded when it is determined that the user uses authorized energy storages. For example, the method may comprise that, when the energy storage is determined to be an authorized energy storage, an acquisition of the authorized energy storage by the user may be stored in the processing circuitry and / or an online data storage and a score of the user is determined. The score of the user may be, for example, a numerical value representing or being proportional to the number of authorized energy storages the user has acquired. Titles, ranks or symbols may be associated with different scores of the user and the user may be informed about their score, title, rank or symbol representing their score, for example by displaying an informational message to the user. Additionally, the score may have an effect on a user reward program, for example in that the user may have access to discounts or other promotional benefits at retail or online stores, for example for buying authorized energy storages.

[0060] According to another aspect of the present invention, there is provided an aerosol-generating system, including at least one of an aerosol-generating device, a companion device configured to charge an aerosol-generating device with electrical energy, or an energy storage, the energy storage being removably couplable to the aerosol-generating device and / or the companion device and being configured to charge the aerosol-generating device and / or the companion device with electrical energy, the aerosol-generating system comprising processing circuitry, wherein the processing circuitry is configured to perform steps of the method, particularly all of the steps, according to the present disclosure. All of the features, functions and advantages of the method according to the present disclosure are also applicable to the aerosol-generating system and vice versa.

[0061] The aerosol-generating system may for example comprise a firmware being executed by the processing circuitry. The firmware may comprise a program code that causes the processing circuitry to perform steps, preferably all of the steps, of the method according to the present disclosure.

[0062] The aerosol-generating system, in particular the aerosol-generating device, may comprise an aerosol-generating substrate or article, preferably wherein the aerosol-generating device is configured to generate aerosol from the aerosol-generating substrate or article.

[0063] According to another aspect of the present disclosure, there is provided a computer program or computer program product or computer-executable program code, which when executed by processing circuitry of an aerosol-generating system, causes the aerosol-generating system to perform steps, preferably all of the steps, of the method according to the present disclosure. The computer program may, for example, be a firmware program, which may be implemented as firmware of the aerosol-generating device or the companion device. All of the features, functions and advantages of the method as well as the aerosol-generating system according to the present disclosure are also applicable to the computer program and vice versa.

[0064] According to another aspect of the present disclosure, there is provided a computer-readable medium, for example a non-transitory computer-readable medium, wherein computer-executable program code is stored on the medium, and wherein the program code, when executed on a processing circuitry, computing device or controller, causes the processing circuitry or computing device or controller to perform steps, preferably all of the steps, of the method according to the present disclosure. The medium may be included in or functionally connected to a controller of one of the respective devices, for example in a microcontroller unit (MCU) . All of the features, functions and advantages of the method and of the aerosol-generating system and of the computer program according to the present disclosure are also applicable to the computer-readable medium and vice versa. The controller on which the program code may be executed may, for example, be part of the processing circuitry of one of the aerosol-generating device, the companion device or the energy storage.

[0065] The invention according to the present disclosure has been described using the example of an aerosol-generating system, i.e. an aerosol-generating device, a companion device and / or an energy storage. However, the method described herein may be performed on any electrical or electronical device, for example portable or hand-held electrical or electronical device, having a removably couplable or replaceable energy storage or battery. The method is therefore not limited to the application to aerosol-generating devices, companion devices or energy storages. The method, the computer program and the computer-readable medium may therefore also be claimed in broader scope without reference to these specific devices. All of the features, functions and advantages as well as further developments of the method of the present disclosure are therefore also applicable to other electrical or electronical devices, for example portable or hand-held electrical or electronical devices having an energy storage or battery, such as smartphones,  smart watches, tablet computers, laptops, gaming devices, for example gaming consoles or gaming controllers, powerbanks, loudspeakers, cameras, pedelecs, e-bikes, headphones, in-ear headphones, portable medical devices, for example inhalers, which may be configured to deliver a vapour or an aerosol, which may comprise a pharmaceutical agent, into the lungs of a user by inhalation and so on.

[0066] The invention is defined in the claims. However, below there is provided a non-exhaustive list of non-limiting examples. Any one or more of the features of these examples may be combined with any one or more features of another example, embodiment, or aspect described herein.

[0067] Example 1. A computer-implemented method for managing operation of an aerosol-generating system and energy supply by a removably couplable energy storage, wherein the aerosol-generating system comprises processing circuitry including at least one controller and / or processor, the method comprising:

[0068] providing, by the energy storage, identification information of the energy storage,

[0069] determining, from the identification information, whether the energy storage is an authorized energy storage or an unauthorized energy storage, and, in the case that the energy storage is determined to be an unauthorized energy storage,

[0070] operating the aerosol-generating system in a safety mode.

[0071] Example 2. The method according to Example 1,

[0072] wherein the aerosol-generating system comprises at least one of an aerosol-generating device and / or a companion device configured to charge an aerosol-generating device with electrical energy and / or the energy storage, the energy storage being removably couplable to the aerosol-generating device and / or the companion device and being configured to charge the aerosol-generating device and / or the companion device with electrical energy.

[0073] Example 3. The method according to any one of the previous Examples,

[0074] further comprising

[0075] reading specification information that specifies the energy storage;

[0076] determining, from the specification information, whether the energy storage fulfils predetermined specification requirements of the aerosol-generating system; and, in the case that the energy storage is determined not to fulfil the predetermined specification requirements,

[0077] operating the aerosol-generating system in the safety mode.

[0078] Example 4. The method according to the previous Example,

[0079] wherein the aerosol-generating system is operated in the safety mode when the energy storage is determined to be any one of an unauthorized energy storage or not to fulfil the predetermined specification requirements as defined by the specification information.

[0080] Example 5. The method according to any one of the previous Examples 3-4,

[0081] wherein the specification information of the energy storage is read from any one of the energy storage, a memory of the processing circuitry or from a remote device via a wireless or wired connection, such as an online data storage.

[0082] Example 6. The method according to any one of the previous Examples,

[0083] wherein said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes authenticating the energy storage by using one or more keys.

[0084] Example 7. The method according to any one of the previous Examples,

[0085] wherein said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes:

[0086] receiving a first key at the processing circuitry,

[0087] determining a first authentication code from the first key and a second key stored in the processing circuitry, wherein the identification information of the energy storage includes a second authentication code, and

[0088] comparing the first authentication code and the second authentication code, wherein the energy storage is determined to be authorized when the first authentication code and the second authentication code match each other.

[0089] Example 8. The method according to the previous Example,

[0090] wherein the first authentication code and / or the second authentication code are determined by encrypting or hashing the first key and the second key, for example by any one of secure hash algorithm (SHA) , advanced encryption standard (AES) , hash-based message authentication code (HMAC) , HMAC-SHA, in particular HMAC-SHA256, HMAC-based key derivation function (HKDF) , cyclic redundancy check (CRC) , and Rivest-Shamir-Adleman (RSA) .

[0091] Example 9. The method according to any one of the previous Examples,

[0092] comprising storing, during use of the aerosol-generating system, historic life cycle data of the energy storage in the processing circuitry and / or an online data storage,

[0093] wherein the identification information of the energy storage includes an energy storage identifier and current life cycle data of the energy storage, and

[0094] wherein said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes comparing the current life cycle data provided in the identification information and the historic life cycle data stored in the processing circuitry and / or the online data storage for the energy storage identifier of the energy storage,

[0095] wherein the energy storage is determined to be authorized when the life cycle data read from the energy storage and the life cycle data stored in the processing circuitry and / or the online data storage match each other.

[0096] Example 10. The method according to the previous Example,

[0097] wherein the energy storage identifier is a serial number or a Codentify and / or

[0098] wherein the life cycle data of the energy storage includes at least one of a maximum capacity of the energy storage, an internal resistance of the energy storage, a voltage profile during charging and / or discharging of the energy storage, a current profile during charging and / or  discharging of the energy storage, a state of charge of the energy storage, and a state of health of the energy storage.

[0099] Example 11. The method according to any one of the previous Examples,

[0100] wherein said step of providing identification information of the energy storage includes providing an identifier of the energy storage by a radio-frequency identification (RFID) device, for example a near field communication (NFC) device, and

[0101] wherein said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes determining whether the identifier provided by the energy storage matches an identifier of an authorized energy storage.

[0102] Example 12. The method according to any one of the previous Examples,

[0103] wherein said step of providing identification information of the energy storage includes measuring an impedance of the energy storage, an electric circuit, or both, and

[0104] wherein said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes determining whether the impedance of the energy storage, the electric circuit, or both, matches an impedance of authorized energy storages, preferably within a predetermined tolerance interval.

[0105] Example 13. The method according to the previous Example,

[0106] wherein measuring the impedance of the energy storage, the electric circuit, or both, includes measuring the impedance response of the energy storage, the electric circuit, or both, to an alternating voltage or current of at least one frequency or to alternating voltages or currents of at least two different frequencies or to alternating voltages or currents of at least one or more frequency ranges.

[0107] Example 14. The method according to the previous Example,

[0108] wherein said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes creating a Bode plot and / or a Nyquist plot of the impedance response and determining whether the Bode plot and / or the Nyquist plot of the impedance response of the energy storage matches Bode plots and / or Nyquist plots of authorized energy storages.

[0109] Example 15. The method according to any one of the previous Examples,

[0110] wherein said step of providing identification information of the energy storage includes reading an identifier of the energy storage from an optically readable marking, for example a barcode, a matrix code or a quick response (QR) -code, and

[0111] wherein said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes determining whether the identifier read from the energy storage matches an identifier of an authorized energy storage.

[0112] Example 16. The method according to any one of the previous Examples,

[0113] wherein the identification information of the energy storage includes a predetermined three-dimensional shape of the energy storage, and

[0114] wherein said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes determining whether the three-dimensional shape of the energy storage is complementary to a three-dimensional shape of a coupling region of an aerosol-generating device or a companion device configured to charge an aerosol-generating device with electrical energy.

[0115] Example 17. The method according to any one of the previous Examples,

[0116] wherein the energy storage is determined to be an unauthorized energy storage when said step of providing the identification information of the energy storage fails or the result is unintelligible.

[0117] Example 18. The method according to any one of the previous Examples 3-17,

[0118] wherein said step of determining whether the energy storage fulfils predetermined specification requirements includes comparing the read specification information to specification information of energy storages fulfilling the predetermined specification requirements,

[0119] preferably wherein a predetermined tolerance interval is employed for specification information and / or specification requirements comprising numerical values.

[0120] Example 19. The method according to any one of the previous Examples 3-18,

[0121] wherein the specification information of the energy storage includes at least one of

[0122] - a name of the manufacturer of the energy storage,

[0123] - a date of manufacturing of the energy storage,

[0124] - an identifier of the energy storage, for example a serial number and / or Codentify,

[0125] - whether or not the energy storage includes a battery fuel gauge,

[0126] - whether or not the energy storage includes a temperature sensor, for example a negative temperature coefficient (NTC) thermistor,

[0127] - a resistance value of the temperature sensor, for example the NTC thermistor,

[0128] - a nominal maximum capacity of the energy storage,

[0129] - an actual maximum capacity of the energy storage, preferably measured before the energy storage has undergone a predetermined amount of charge-discharge cycles,

[0130] - a state of health of the energy storage,

[0131] - a maximum charging voltage of the energy storage,

[0132] - a maximum charging current of the energy storage,

[0133] - an end-of-discharge voltage of the energy storage,

[0134] - a maximum discharging current of the energy storage,

[0135] - an internal resistance of the energy storage, preferably measured before the energy storage has undergone a predetermined amount of charge-discharge cycles,

[0136] - an impedance of the energy storage, preferably measured before the energy storage has undergone a predetermined amount of charge-discharge cycles,

[0137] - battery protection settings, for example settings pertaining to at least one of over-voltage, under-voltage, over-current, short-circuit, low voltage charging prohibition, over-temperature, under-temperature, pre-charge timeout and fast charge timeout.

[0138] Example 20. The method according to any one of the previous Examples 3-19,

[0139] wherein the specification information of the energy storage pertains to at least two aspects of the energy storage, and wherein the aspects are differently weighted.

[0140] Example 21. The method according to any one of the previous Examples 3-20,

[0141] wherein a numerical score is determined from the specification information,

[0142] wherein determining whether the energy storage fulfils predetermined specification requirements of the aerosol-generating device or the companion device includes determining to which degree the numerical score matches a predetermined score, and

[0143] wherein operating the aerosol-generating device or the companion device in a safety mode is adapted to the degree to which the numerical score matches the predetermined score.

[0144] Example 22. The method according to any one of the previous Examples 3-21,

[0145] wherein the energy storage is determined not to fulfil the predetermined specification requirements when the reading of the specification information of the energy storage fails or the result is unintelligible.

[0146] Example 23. The method according to any one of the previous Examples,

[0147] wherein operating the aerosol-generating system in the safety mode includes preventing operation of the aerosol-generating system to generate aerosol or preventing a charging of the aerosol-generating system with electrical energy.

[0148] Example 24. The method according to any one of the previous Examples,

[0149] wherein operating the aerosol-generating system in the safety mode includes at least one of

[0150] - presenting a warning to a user, for example a visual, acoustic or haptic warning, preferably wherein the warning is presented to the user by the aerosol-generating system,

[0151] - requiring a user to actively consent to the continued operation of the aerosol-generating system,

[0152] - presenting a user with a suggestion to acquire an authorized energy storage, preferably wherein the suggestion includes at least one information on how, where and when to acquire an authorized energy storage,

[0153] - limiting a charging set-up of the energy storage,

[0154] - limiting a charging set-up providable from an energy storage of a companion device to charge an aerosol-generating device,

[0155] - limiting a heating temperature of a heater,

[0156] - limiting a number of usage sessions providable to a user before having to recharge the energy storage,

[0157] - limiting a number of usage sessions providable to a user during a predetermined time period,

[0158] - limiting a frequency of usage sessions providable to a user,

[0159] - shortening a duration of a usage session or a puff count of a usage session,

[0160] - limiting a volume, intensity, power, energy or quantity of an individual puff taken by a user,

[0161] - limiting a possible frequency of the puffs that can be taken by a user,

[0162] - enforcing a longer resting time between user sessions or puffs,

[0163] - limiting the state of charge or capacity the energy storage is recharged to,

[0164] - performing an energy storage improvement operation, for example performing a charge-discharge cycle between predetermined state of charge and / or capacity boundaries,

[0165] - storing or updating or sending information pertaining to a warranty duration and preferably presenting an information about the warranty duration to a user,

[0166] - storing or updating usage data related to the use of an unauthorized battery.

[0167] Example 25. The method according to any one of the previous Examples 3-24,

[0168] wherein the aerosol-generating system is operated in the safety mode when the energy storage is determined to be an unauthorized energy storage and to fulfil the predetermined specification requirements.

[0169] Example 26. The method according to any one of the previous Examples,

[0170] comprising storing, in the processing circuitry and / or an online data storage, a date and / or a time of coupling of the energy storage to an aerosol-generating device or a companion device when the energy storage is determined to be an authorized energy storage.

[0171] Example 27. The method according to any one of the previous Examples,

[0172] comprising storing, in the processing circuitry and / or an online data storage, information about how the energy storage was acquired when the energy storage is determined to be an authorized energy storage, and

[0173] presenting to a user a suggestion of acquiring a replacement energy storage in the same way when the energy storage has degraded to a predetermined degree.

[0174] Example 28. The method according to any one of the previous Examples,

[0175] wherein, when the energy storage is determined to be an authorized energy storage, an acquisition of the authorized energy storage by the user is stored in the processing circuitry and / or an online data storage and a score of the user is determined.

[0176] Example 29. An aerosol-generating system, including at least one of

[0177] an aerosol-generating device,

[0178] a companion device configured to charge an aerosol-generating device with electrical energy, or

[0179] an energy storage, the energy storage being removably couplable to the aerosol-generating device and / or the companion device and being configured to charge the aerosol-generating device and / or the companion device with electrical energy,

[0180] the aerosol-generating system comprising processing circuitry, wherein the processing circuitry is configured to perform steps of the method according to any one of the previous Examples.

[0181] Example 30. The aerosol-generating system according to the previous Example, comprising an aerosol-generating substrate or article, preferably wherein the aerosol-generating device is configured to generate aerosol from the aerosol-generating substrate or article.

[0182] Example 31. A computer program, which when executed by processing circuitry of an aerosol-generating system, causes the aerosol-generating system to perform steps of the method according to any one of Examples 1-28.

[0183] Example 32. A non-transitory computer-readable medium storing a computer program according to the previous Example.

[0184] Examples will now be further described with reference to the figures in which:

[0185] Figure 1 shows an aerosol-generating system;

[0186] Figure 2 shows an energy storage:

[0187] Figure 3 shows the communication between the aerosol-generating system and a server device; and

[0188] Figure 4 shows a flowchart of the method.

[0189] The figures are schematic only and not to scale.

[0190] Figure 1 shows an aerosol-generating system 1 for generating aerosol, for example for consumption or inhalation by a user in one or more usage sessions. The system 1 may comprise at least one of an aerosol-generating device 2 for generating aerosol, a companion device 3 for at least partially receiving the aerosol-generating device 2 and / or an energy storage 15. The companion device 3 may be a charging device for charging the aerosol-generating device 2 and / or an energy storage 15 or battery thereof.

[0191] The aerosol-generating device 2 may comprise an insertion opening 4 for at least partially inserting an aerosol-generating article 17. The aerosol-generating article 17 may comprise an aerosol-forming substrate, such as a tobacco containing substrate, and / or a cartridge comprising a liquid, for example a liquid that can be aerosolized for inhalation.

[0192] The aerosol-generating device 2 may further include processing circuitry 18 or control circuitry 18 with at least one controller 5 and one or more processors 6. For generating the aerosol during use or consumption of the aerosol-generating article 17, the aerosol-generating device 2 may comprise at least one heating element 7 or heater device for applying heat to at least a portion of the aerosol-generating article 17. Instead of the heating element 7, an ultrasonic device (not shown) may also be used to generate aerosol from the aerosol-generating article 17. The  processing circuitry 18 and / or the controller 5 may be configured to control actuation, activation and / or deactivation of at least one heating element 7 or ultrasonic device.

[0193] For powering the at least one heating element 7 with electrical power, the aerosol-generating device 2 may further comprise the at least one energy storage 15, for example in the form of a battery, for storing electrical energy or power. In Figure 1, both the aerosol-generating device 2 and the companion device 3 each comprise an energy storage 15 and the energy storage 15 is electrically coupled to the respective device 2, 3. In particular, energy storage 15 may be removably couplable to the aerosol-generating device 2 and / or the companion device 3. In other words, energy storage 15 may be a replaceable energy storage or battery. The connection between the energy storage 15 and the devices 2, 3 may be configured so that the devices 2, 3 may be run by electrical energy provided by the energy storage 15. Additionally, the connection between the energy storage 15 and the aerosol-generating device 2 and / or the companion device 3 may be configured so that data may be transmitted between the processing circuitries 18 of the aerosol-generating device 2 and / or the companion device 3 and the energy storage 15 (see Figure 2) . Particularly, data pertaining to the identification information and the specification information may be transmitted between the processing circuitries 18 of the aerosol-generating device 2 and / or the companion device 3 and the energy storage 15.

[0194] The aerosol-generating device 2 may further comprise at least one electrical connector 12 for coupling to a corresponding at least one electrical connector 13 of the companion device 3 and / or an electrical connector of an external power supply (not shown) , e.g., a USB charger. For example, when the aerosol-generating device 2 is at least partially inserted into the opening 14 of the companion device 3, the one or more electrical connectors 12 of the aerosol-generating device 2 may be coupled with the one or more electrical connectors 13 of the companion device 3 to charge the at least one energy storage 15 of the aerosol-generating device 2.

[0195] The aerosol-generating device 2 may further comprise a communications arrangement 9 or communication circuitry 9 with one or more communications interfaces 10 for communicatively coupling the aerosol-generating device 2 with the companion device 3, for example, via an Internet connection, a wireless LAN connection, a WiFi connection, a Bluetooth connection, a mobile phone network, a mobile data connection for example but not limited to a 3G / 4G / 5G connection, an edge connection, an LTE connection, a BUS connection, a wireless connection, a wired connection, an optical data connection such as but not limited to IrDa, a radio connection, a near field connection, and / or an IoT connection.

[0196] The aerosol-generating device 2 may further comprise a data storage 11 for storing information, program code or data. Data storage 11 may also store collected values of sensors and / or one or more mathematical functions or formulas, software and computer instructions that can be executed by the controller 5 and / or processing circuitry 18. One or more sensors 16 may be arranged on, at or in the aerosol-generating device 2 or the companion device 3 to collect data.  One or more of the sensors 16 may for example be temperature sensors, strain sensors, accelerometers or any other suitable sensors.

[0197] The aerosol-generating device 2 may further comprise user interface components, for example comprising an input element or input device 8, for example in the form of a pushbutton or a capacitive button. The input device 8 may be used as a power button to activate or deactivate the heating element 7 or ultrasonic device for aerosol generation thereby to activate or deactivate the aerosol-generating device 2. Upon activation of the aerosol-generating device 2, the heating element 7 may be activated and heat may be applied to at least a part of the aerosol-generating article 17, such that aerosol can be generated for consumption or inhalation by the user, for example in a usage session. The aerosol generating device 2 and / or the companion device 3 may each comprise a user interface comprising one or more output elements, such as a display and / or one or more LEDs, for outputting a signal and / or displaying information to a user, or haptic and acoustic data output devices.

[0198] Aerosol-generating device 2 and / or companion device 3 may further comprise a battery fuel gauge 28 which may be configured to provide processing circuitry 18 with data pertaining to electrical attributes or features of the energy storage 15, for example a charging and / or discharging voltage, charging and / or discharging current, an energy storage capacity, and an energy storage impedance. These parameters may be used as identification information or as specification information as described herein.

[0199] Figure 2 shows an energy storage 15 in more detail. Energy storage 15 may comprise processing circuitry 18, which may include a controller 25 and one or more processors 6 as well as a data storage 24 or memory. The energy storage 15 may comprise a charging circuit 23, which may be implemented as an integrated circuit and which may regulate or control charging of the energy storage 15 with electrical energy. Also, charging circuit 23 may provide processing circuitry 18 with data pertaining to the electrical attributes or features of the energy storage 15, for example charging or discharging voltages or currents as well as internal resistances or impedances of the energy storage 15. Furthermore, energy storage 15 may comprise a battery fuel gauge 28, which may also be able to provide processing circuitry 18 with data pertaining to electrical attributes or features of the energy storage 15, in particular relating to a state of charge or state of health of the energy storage 15. Furthermore, energy storage 15 may also comprise a temperature sensor 31, for example an NTC thermistor, configured to determine or sense the temperature of energy storage 15. As every other sensor described herein, temperature sensor 31 may also be connected to processing circuitry 18 and provide its measurement values to processing circuitry 18. Additionally, the resistance value of the NTC thermistor may be determined or measured and may be part of the specification information and / or the identification information of the energy storage 15.

[0200] It may be provided that the identification information of the energy storage 15 is stored in data storage 24 and / or the battery fuel gauge 28. In this case, the identification information may  be read from data storage 24 and / or battery fuel gauge 28, for example by the processing circuitry 18 of the energy storage 15 or the aerosol-generating device 2 or the companion device 3. However, the identification information may also be provided in different ways. For example, energy storage 15 may comprise an RFID device 27, which may store the identification information and which may be configured to provide the identification information of the energy storage 15 to the processing circuitry 18, particularly the processing circuitry 18 of the aerosol-generating device 2 or the companion device 3. As another possible example, the identification information may also be stored in and / or provided by the battery fuel gauge 28 of the energy storage 15. Additionally or alternatively, energy storage 15 may comprise an identifying resistor or impedance 30, which may provide a specific resistance or impedance response to an alternating voltage or current of one or more frequencies or frequency ranges. The identifying resistor or impedance 30 may be electrically connected to charging circuit 23. In this case, the identification information may comprise the resistance or impedance response of the identifying resistor or impedance 30 and this identification information may be read by the processing circuitry 18, for example through charging circuit 23. Identification information of the energy storage 15 may also be stored or provided in an optically readable marking 26, which may, for example, be implemented as a barcode or a QR-code. Optically readable marking 26 may be arranged on the outer surface of energy storage 15 so as to be accessible for an ID reader, for example a camera, as further outlined below. Another possibility may be that the identification information comprises identification shapes 33 on the outer surface of the energy storage 15. Identification shapes 33 may comprise protrusions and / or depressions in the outer surface or contour of the energy storage 15, wherein the identification information may be coded into the three-dimensional or geometrical shape of the identification shapes 33.

[0201] Furthermore, energy storage 15 may comprise a data communication line 37, which may be configured to establish a data connection from the processing circuitry 18 of the energy storage 15 to the aerosol-generating device 2 and / or the companion device 3 whenever the energy storage 15 is connected to one of these devices 2, 3. For example, a communication interface, for example an inter-integrated circuit (I2C) may be used for communication and / or data exchange. For example, the energy storage 15 may use this data communication line 37 in determining whether or not the energy storage 15 is authorized for use with the device 2, 3. Also, energy storage 15 may include power switch 38, which may be arranged on a power line connecting the energy storage 15 to the aerosol-generating device 2 or the companion device 3. When the energy storage 15 is determined to be unauthorized, for example because communication over the data communication line 37 fails or because the lack of authorization is determined in any other way as described herein, energy storage 15 may turn off the power switch 38, thereby preventing the provision of electrical energy to the aerosol-generating device 2 or the companion device 3 from the energy storage 15. In this case, the safety mode may comprise turning off the power switch 38. To achieve this, the processing circuitry 18 of the energy storage 15 may send  a control command to the power switch 38 to turn the switch off, i.e. to turn the switch into a disconnected state. In this way, when the method according to the present disclosure is performed by the energy storage 15 itself, it may be prevented that the energy storage 15 is used with an unsuitable device. On the other hand, when it is determined that the energy storage 15 is authorized, the processing circuitry 18 of the energy storage 15 may send a control command to the power switch 38 to turn the switch on, i.e. to turn the switch into a connected state, thereby allowing use of the energy storage 15.

[0202] As shown in figure 1, the aerosol-generating device 2 and the companion device 3 may each comprise a coupling region 32 configured to physically receive and / or electrically connect with the energy storage 15. Therefore, the coupling region 32 may be configured with a shape or contour corresponding or complementary to the identification shapes 33 of the energy storage 15. In other words, the coupling region 32 may be configured in a way so that the identification shapes 33 of the energy storage 15 fit into the coupling region 32 in the manner of a key fitting into a lock. The mechanical tolerances of shaping the identification shapes 33 and the coupling region 32 may define the inimitableness of the identification information encoded in this way.

[0203] The coupling region 32 may, in addition or as an alternative, also comprise an ID reader 29. The ID reader 29 may be configured to read identification information from the energy storage 15. For example, the ID reader 29 may be configured to read the identification information from the RFID device 27 and / or the battery fuel gauge 28 of the energy storage 15. In this case, ID reader 29 may be an RFID reader. ID reader 29 may also be configured to read the identification information from the optically readable marking 26 of the energy storage 15. In this case, ID reader 29 may be a camera. As another example, the ID reader 29 may be configured to determine the resistance or impedance or resistance response or impedance response of the identifying resistor or identifying impedance 30 of the energy storage 15. In any case, ID reader 29 may be in data connection with processing circuitry 18, particularly processing circuitry 18 of the aerosol-generating device 2 or the companion device 3.

[0204] Additionally or alternatively, the specification information specifying the energy storage 15 may also be stored in data storage 24. Therefore, the specification information may also be read from data storage 24, for example by the processing circuitry 18 of the energy storage 15 or the aerosol-generating device 2 or the companion device 3. However, the specification information of the energy storage 15 may also comprise measured values, for example measured values of currents, voltages, resistances, impedances and capacities as described herein. These values may, for example, be measured by the charging circuit 23 and / or battery fuel gauge 28. They may be read or requested from charging circuit 23 and / or battery fuel gauge 28 by processing circuitry 18, for example by the processing circuitry 18 of the energy storage 15 or of the aerosol-generating device 2 or of the companion device 3. The battery fuel gauge 28 used to read or request the mentioned values may be provided on the energy storage 15 itself or on the aerosol-generating device 2 or the companion device 3.

[0205] Figure 3 shows an aerosol-generating system 1, comprising any one of or any combination of the aerosol-generating device 2, the companion device 3 and the energy storage 15. In addition, Figure 3 shows an online data storage 19, which may, for example, be a server device or web server or online server or cloud service maintained by the manufacturer of the aerosol-generating system 1. As shown, each of the components of the aerosol-generating system 1 may be in communication or exchange data with each other. For example, as shown by arrow 20, the aerosol-generating device 2 may communicate or exchange data with the companion device 3. As shown by arrows 35 and 36, each of the companion device 3 and the aerosol-generating device 2 may communicate or exchange data with the energy storage 15. This communication may be realized through a direct physical connection between the components of the aerosol-generating system 1 or may alternatively or additionally be realized by wireless communications. In addition, as shown by arrows 21, 22 and 34, each of the companion device 3, the aerosol-generating device 2 and the energy storage 15 may communicate or exchange data with the online data storage 19. This communication in turn may be realized by an internet connection, either a wired or a wireless internet connection, through which any of the components of the aerosol-generating system 1 may exchange data with the online data storage 19.

[0206] In general, therefore, the method as described in the present disclosure may be performed by either one or any combination of the aerosol-generating device 2, the companion device 3 and / or the energy storage 15. The data necessary to perform the method, for example the identification information and / or the specification information, may be freely exchanged between the components of the system, as shown in Figure 3. For example, when the energy storage 15 is to be used in the aerosol-generating device 2, the method as disclosed herein may be performed by the aerosol-generating device 2 and may determine whether or not the energy storage 15 is authorized and / or suitable, i.e. fulfilling the specification requirements, for use with the aerosol-generating device 2. If this is not the case, measures to ensure the safety of the user and the system according to the safety mode as described herein may be taken. As another example, when the energy storage 15 is to be used in the companion device 3, the method as disclosed herein may be performed by the companion device 3 and may determine whether or not the energy storage 15 is authorized and / or suitable, i.e. fulfilling the specification requirements, for use with the companion device 3. If this is not the case, measures to ensure the safety of the user and the system according to the safety mode as described herein may be taken. However, in both of the foregoing examples, instead of the aerosol-generating device 2 and the companion device 3, the method can also be performed by the energy storage 15 itself. Therefore, not only can the aerosol-generating device 2 and the companion device 3 determine whether or not the energy storage 15 is suitable for use with them, also the energy storage 15 can determine whether or not it is suitable for use in any one of the aerosol-generating device 2 and the companion device 3. In this way, and unsafe pairing of an energy storage 15 with any of the aerosol- generating device 2 or the companion device 3 may be detected and suitable safety measures initiated through use of the safety mode.

[0207] Figure 4 shows a flowchart of the method 40 according to the present disclosure. The method 40 may begin, for example, when an energy storage 15 is removably coupled or connected to an aerosol-generating device 2 or a companion device 3. In step 41, identification information of the energy storage 15 may be provided by the energy storage 15, for example in any of the forms or ways described herein. The identification information may be used to determine whether or not the energy storage 15 is an authorized energy storage in step 42. An authorized energy storage 15 may mean that the energy storage 15 has been produced and sold by the manufacturer of the aerosol-generating device 2 and / or the companion device 3 or an authorized third-party manufacturer or retailer. With authorized energy storages 15, it may therefore be assumed that highest quality standards are fulfilled and that no danger to the user or to the aerosol-generating system 1 has to be expected during use of the authorized energy storage 15. Consequently, when it is determined that the energy storage 15 is an authorized energy storage in step 42, it may also be assumed that the energy storage 15 fulfills all the specification requirements and that therefore the aerosol-generating system 1 may be operated normally without any limitations or restrictions. As shown in step 46 in Figure 4, the method 40 may comprise storing or otherwise processing information indicating that the user of the aerosol-generating system 1 has acquired and is using an authorized energy storage 15. For example, this may be stored in a user profile of the user, which may, for example, be maintained or stored in the aerosol-generating system 1 or an online data storage 19. To incentivize that the user keeps using authorized energy storages 15 and therefore no safety hazards arise, there may be provided a reward program for the user in which the user may acquire points, scores, ranks or titles increasing with the times the user acquires and uses authorized energy storages 15. The reward program may also comprise offering the user discounts on future purchases, for example on future purchases of authorized energy storages 15.

[0208] However, if in step 42 it is determined from the identification information that the energy storage 15 is in fact an unauthorized energy storage, there can be no guarantee that the energy storage 15 is safe and that operation of the aerosol-generating system 1 using unauthorized energy storage 15 is safe for either the user or the system. It may therefore be provided that the aerosol-generating system 1 is operated in a safety mode according to step 45. As explained herein, the safety mode may comprise limitations or restrictions on the operation of the aerosol-generating system 1 which may be more or less strict and which are aimed at increasing the safety of operation by, for example, lessening the strain on unauthorized energy storage 15. In a worst-case scenario, safety mode may mean that operation of the aerosol-generating system 1 is stopped or prevented. In particular, step 45 may comprise a strict safety mode in which strict limitations or restrictions apply, for example in that operation of the aerosol-generating system 1 is stopped or prevented.

[0209] Method 40 may also comprise additional steps aimed at determining exactly how much the unauthorized energy storage 15 differs from an authorized energy storage 15. This may be performed to determine how strict the limitations or restrictions of safety mode have to be to ensure safe operation. For example, method 40 may comprise step 43, in which specification information that specifies the energy storage 15 is read as explained above. The specification information may pertain to parameters indicating the capabilities, for example the electrical capabilities, of the energy storage 15. Therefore, the specification information may be used to determine to what degree the energy storage 15 may fulfill the requirements of the aerosol-generating system 1 or for the unrestricted or normal operation of aerosol-generating system 1. This is therefore performed in step 44, in which it is determined, from the specification information, whether the energy storage 15 fulfills predetermined specification requirements of the aerosol-generating system 1. It may also be determine to what degree the energy storage 15 fulfills the predetermined specification requirements of the aerosol-generating system 1.

[0210] If it is determined in step 44 that the energy storage 15 fulfills the specification requirements, i.e. that the energy storage 15 is in specification, then the aerosol-generating system 1 may be operated in safety mode as indicated by step 47. If the energy storage 15 is in specification, the safety mode according to step 47 may be much less restricted or less limited than the safety mode or strict safety mode in step 45. As the unauthorized energy storage 15 is an unknown device from the view of the manufacturer of the aerosol-generating device 2 and / or the companion device 3, it is unknown to what quality standards the unauthorized energy storage 15 may have been produced. Therefore, albeit the energy storage 15 fulfills the specification requirements, it may still be prudent to operate the aerosol-generating system 1 in safety mode with very few or only small restrictions. For example, safety mode in step 47 may only comprise a warning message to the user informing them about the energy storage 15 being unauthorized and that therefore no guarantee can be made that operation of the aerosol-generating system 1 using this energy storage 15 is safe. Alternatively, also in the case that the energy storage 15 fulfills the specification requirements, i.e. that the energy storage 15 is in specification, the aerosol-generating system 1 may be operated normally as indicated by step 48. Even if the energy storage 15 is unauthorized, there may be no objections to using it in the aerosol-generating system 1 as long as it fulfills the specifications, including all prerequisites for safe operation as mentioned herein.

[0211] However, if it is determined in step 44 that the energy storage 15 does not fulfill the specification requirements, i.e. that the energy storage 15 is out of specification, then the aerosol-generating system 1 may be operated in safety mode according to step 45. As already mentioned, the safety mode according to step 45 may impose harsh restrictions or limitations on the operation of the aerosol-generating system 1, as explained herein. It may even be provided that the operation of the aerosol-generating system 1 may be prevented altogether, for example by preventing the generation of aerosol by the aerosol-generating device 2 and / or by preventing  recharging of the aerosol-generating device 2 by the companion device 3. These restrictions may be imposed by soft-or firmware running on the processing circuitry 18.

[0212] The series of steps as shown in Figure 4 is an example of the present method 40. However, the steps may be performed in a different order from the one shown. For example, step 41, possibly followed by step 42, may be performed before or after step 43, possibly followed by step 44. The conclusions drawn from the single steps stay the same, though. For example, if steps 43 and 44 are performed before step 41 and 42, and if it is determined in step 44 that the energy storage 15 is out of specification, the safety mode may be engaged in any one of steps 45 or 47, for example the strict safety mode according to step 45. If, however, it is determined in step 44 that the energy storage 15 is in specification, steps 41 and 42 may be performed. If it is determined in step 42 that the energy storage 15 is authorized, the aerosol-generating device 2 and / or the companion device 3 may be operated normally. If, however, it is determined in step 42 that the energy storage 15 is unauthorized, the safety mode may be engaged in any one of steps 45 or 47, for example the safety mode according to step 47, which may be less restricted or less limited than the safety mode or strict safety mode in step 45, as the energy storage 15 is still in specification.

[0213] According to the present disclosure, a procedure is provided with which the health of the user and the integrity of the system may be safeguarded even when unauthorized third parties try to sell energy storages 15 for use with the aerosol-generating system 1 that do not fulfill the quality standards of the original manufacturer.

[0214] For the purpose of the present description and of the appended claims, except where otherwise indicated, all numbers expressing amounts, quantities, percentages, and so forth, are to be understood as being modified in all instances by the term "about" . Also, all ranges include the maximum and minimum points disclosed and include any intermediate ranges therein, which may or may not be specifically enumerated herein. In this context, therefore, a number A is understood as A ± 10 %of A. Within this context, a number A may be considered to include numerical values that are within general standard error for the measurement of the property that the number A modifies. The number A, in some instances as used in the appended claims, may deviate by the percentages enumerated above provided that the amount by which A deviates does not materially affect the basic and novel characteristic (s) of the claimed invention. Also, all ranges include the maximum and minimum points disclosed and include any intermediate ranges therein, which may or may not be specifically enumerated herein.

Claims

1.A computer-implemented method for managing operation of an aerosol-generating system and energy supply by a removably couplable energy storage, wherein the aerosol-generating system comprises processing circuitry including at least one controller and / or processor, the method comprising:providing, by the energy storage, identification information of the energy storage,determining, from the identification information, whether the energy storage is an authorized energy storage or an unauthorized energy storage, and, in the case that the energy storage is determined to be an unauthorized energy storage,operating the aerosol-generating system in a safety mode.2.The method according to claim 1,further comprisingreading specification information that specifies the energy storage;determining, from the specification information, whether the energy storage fulfils predetermined specification requirements of the aerosol-generating system; and, in the case that the energy storage is determined not to fulfil the predetermined specification requirements,operating the aerosol-generating system in the safety mode.3.The method according to the previous claim,wherein the specification information of the energy storage is read from any one of the energy storage, a memory of the processing circuitry or from a remote device via a wireless or wired connection, such as an online data storage.4.The method according to any one of the previous claims,wherein said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes authenticating the energy storage by using one or more keys.5.The method according to any one of the previous claims,comprising storing, during use of the aerosol-generating system, historic life cycle data of the energy storage in the processing circuitry and / or an online data storage,wherein the identification information of the energy storage includes an energy storage identifier and current life cycle data of the energy storage, andwherein said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes comparing the current life cycle data provided in the identification information and the historic life cycle data stored in the processing circuitry and / or the online data storage for the energy storage identifier of the energy storage,wherein the energy storage is determined to be authorized when the life cycle data read from the energy storage and the life cycle data stored in the processing circuitry and / or the online data storage match each other.6.The method according to any one of the previous claims,wherein said step of providing identification information of the energy storage includes providing an identifier of the energy storage by a radio-frequency identification (RFID) device, for example a near field communication (NFC) device, andwherein said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes determining whether the identifier provided by the energy storage matches an identifier of an authorized energy storage.7.The method according to any one of the previous claims,wherein said step of providing identification information of the energy storage includes measuring an impedance of the energy storage, an electric circuit, or both, andwherein said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes determining whether the impedance of the energy storage, the electric circuit, or both, matches an impedance of authorized energy storages, preferably within a predetermined tolerance interval.8.The method according to any one of the previous claims,wherein said step of providing identification information of the energy storage includes reading an identifier of the energy storage from an optically readable marking, for example a barcode, a matrix code or a quick response (QR) -code, andwherein said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes determining whether the identifier read from the energy storage matches an identifier of an authorized energy storage.9.The method according to any one of the previous claims,wherein the identification information of the energy storage includes a predetermined three-dimensional shape of the energy storage, andwherein said step of determining whether the energy storage is an authorized energy storage or an unauthorized energy storage includes determining whether the three-dimensional shape of the energy storage is complementary to a three-dimensional shape of a coupling region of an aerosol-generating device or a companion device configured to charge an aerosol-generating device with electrical energy.10.The method according to any one of the previous claims 2-9,wherein the specification information of the energy storage includes at least one of- a name of the manufacturer of the energy storage,- a date of manufacturing of the energy storage,- an identifier of the energy storage, for example a serial number and / or Codentify,- whether or not the energy storage includes a battery fuel gauge,- whether or not the energy storage includes a temperature sensor, for example a negative temperature coefficient (NTC) thermistor,- a resistance value of the temperature sensor, for example the NTC thermistor,- a nominal maximum capacity of the energy storage,- an actual maximum capacity of the energy storage, preferably measured before the energy storage has undergone a predetermined amount of charge-discharge cycles,- a state of health of the energy storage,- a maximum charging voltage of the energy storage,- a maximum charging current of the energy storage,- an end-of-discharge voltage of the energy storage,- a maximum discharging current of the energy storage,- an internal resistance of the energy storage, preferably measured before the energy storage has undergone a predetermined amount of charge-discharge cycles,- an impedance of the energy storage, preferably measured before the energy storage has undergone a predetermined amount of charge-discharge cycles,- battery protection settings, for example settings pertaining to at least one of over-voltage, under-voltage, over-current, short-circuit, low voltage charging prohibition, over-temperature, under-temperature, pre-charge timeout and fast charge timeout.11.The method according to any one of the previous claims,wherein operating the aerosol-generating system in the safety mode includes preventing operation of the aerosol-generating system to generate aerosol or preventing a charging of the aerosol-generating system with electrical energy or wherein operating the aerosol-generating system in the safety mode includes at least one of- presenting a warning to a user, for example a visual, acoustic or haptic warning, preferably wherein the warning is presented to the user by the aerosol-generating system,- requiring a user to actively consent to the continued operation of the aerosol-generating system,- presenting a user with a suggestion to acquire an authorized energy storage, preferably wherein the suggestion includes at least one information on how, where and when to acquire an authorized energy storage,- limiting a charging set-up of the energy storage,- limiting a charging set-up providable from an energy storage of a companion device to charge an aerosol-generating device,- limiting a heating temperature of a heater,- limiting a number of usage sessions providable to a user before having to recharge the energy storage,- limiting a number of usage sessions providable to a user during a predetermined time period,- limiting a frequency of usage sessions providable to a user,- shortening a duration of a usage session or a puff count of a usage session,- limiting a volume, intensity, power, energy or quantity of an individual puff taken by a user,- limiting a possible frequency of the puffs that can be taken by a user,- enforcing a longer resting time between user sessions or puffs,- limiting the state of charge or capacity the energy storage is recharged to,- performing an energy storage improvement operation, for example performing a charge-discharge cycle between predetermined state of charge and / or capacity boundaries,- storing or updating or sending information pertaining to a warranty duration and preferably presenting an information about the warranty duration to a user,- storing or updating usage data related to the use of an unauthorized battery.12.An aerosol-generating system, including at least one ofan aerosol-generating device,a companion device configured to charge an aerosol-generating device with electrical energy, oran energy storage, the energy storage being removably couplable to the aerosol-generating device and / or the companion device and being configured to charge the aerosol-generating device and / or the companion device with electrical energy,the aerosol-generating system comprising processing circuitry, wherein the processing circuitry is configured to perform steps of the method according to any one of the previous claims.13.The aerosol-generating system according to the previous claim, comprising an aerosol-generating substrate or article, preferably wherein the aerosol-generating device is configured to generate aerosol from the aerosol-generating substrate or article.14.A computer program, which when executed by processing circuitry of an aerosol-generating system, causes the aerosol-generating system to perform steps of the method according to any one of claims 1-11.15.A non-transitory computer-readable medium storing a computer program according to the previous claim.