A vacuum cleaner comprising: a vacuum cleaner body provided with a control unit and a detection unit; a floor brush assembly comprising a plurality of different floor brushes for performing different types of cleaning work, wherein each floor brush is provided an electric motor; an extension tube connecting the vacuum cleaner and the floor brush, wherein the detection unit comprises a floor brush current detection module for detecting a current passing through the electric motor in a floor brush of the plurality of different floor brushes, wherein the floor brush current detection module sends the detected current to the control unit, and the control unit controls the electric motor to maintain an operating state or stop the operating state according to the current detected by the floor brush current detection module; wherein the current detected by the floor brush current detection module comprises a start peak current and a normal operating current; and wherein the control unit is configured to perform the following operations: performing matching in preset correspondences between the start peak current ranges and the stall currents of the plurality of floor brushes in the floor brush assembly according to the start peak current so as to determine the stall current corresponding to the floor brush which is being used; and controlling the electric motor to maintain an operating state or stop according to the normal operating current and the stall current corresponding to the floor brush which is being used. a vacuum cleaner body provided with a control unit and a detection unit; a floor brush assembly comprising a plurality of different floor brushes for performing different types of cleaning work, wherein each floor brush is provided an electric motor; an extension tube connecting the vacuum cleaner and the floor brush, wherein the detection unit comprises a floor brush current detection module for detecting a current passing through the electric motor in a floor brush of the plurality of different floor brushes, wherein the floor brush current detection module sends the detected current to the control unit, and the control unit controls the electric motor to maintain an operating state or stop the operating state according to the current detected by the floor brush current detection module; wherein the current detected by the floor brush current detection module comprises a start peak current and a normal operating current; and wherein the control unit is configured to perform the following operations: performing matching in preset correspondences between the start peak current ranges and the stall currents of the plurality of floor brushes in the floor brush assembly according to the start peak current so as to determine the stall current corresponding to the floor brush which is being used; and controlling the electric motor to maintain an operating state or stop according to the normal operating current and the stall current corresponding to the floor brush which is being used. performing matching in preset correspondences between the start peak current ranges and the stall currents of the plurality of floor brushes in the floor brush assembly according to the start peak current so as to determine the stall current corresponding to the floor brush which is being used; and controlling the electric motor to maintain an operating state or stop according to the normal operating current and the stall current corresponding to the floor brush which is being used.