A vacuum cleaner including an airflow passage that extends from a suction inlet to an air outlet, a dirt separator, a suction source operable to generate a suction airflow that travels through the suction inlet, through the dirt separator, and through the air outlet. The vacuum further includes a battery that supplies power to the suction source to generate the suction airflow and a portion of the airflow passage is defined by the battery.