A cleaner for cleaning a surface comprises a floor-engaging portion for
moving along the surface. A magnet and a hall effect sensor located in
the cleaner handle generates a control signal. The control signal is
provided to a control circuit which controls one or more operational
features of the cleaner. One such operational features includes at least
one pump for mixing and distributing cleaning solution to the surface. In
an alternate embodiment, the control circuit controls an electric motor
for propelling the cleaner over the surface.