Abstract
A robot cleaner includes: an IR light source; an IR receiver; a driver; and one or more processors configured to: control the driver to move the robot cleaner through a space, output IR light using the IR light source while the robot cleaner moves through the space, and perform an operation of detecting liquid on a floor around the robot cleaner based on the reflected IR light received by the IR receiver, and to: perform the operation of detecting liquid in a first mode, based on the liquid being detected, change the robot cleaner to a second mode, and perform the operation of detecting liquid in the second mode. In the first mode, the operation of detecting liquid is performed based on a specific period. In the second mode, a period of the operation of detecting liquid is changed based on a distance between the robot cleaner and the liquid.