A vapor-generating system includes a pump having an inlet and an outlet, the inlet configured to be connected to a liquid storage portion. The system includes a fluid channel fluidly connected to the pump and a fluid sensor. The fluid sensor is configured to determine a presence of liquid vapor-forming substrate in the fluid channel based on measuring an electrical property of the fluid in the fluid channel.