Dust Buddy

You might be looking for Vacuum Friend.

Dust Buddy is a type of semi-automatic vacuum cleaner that Clancy Q. Sleepyjeans accidentally left his hat on top of and then turned on. He then vacuumed forward and stopped when he encountered an obstacle. The obstacle was Robot Jones's foot. The two bonded and Dust Buddy somehow became a student at Polyneaux Middle School. He vacuumed Mrs. Raincoat's dress in front of the entire class. At the end of the day, Clancy was able to retrieve Dust Buddy, but the hat still ended up in the possession of Robot Jones.