A robotic work tool having a chassis, a cover and a controller for controlling the operation of the robotic work tool. The robotic work tool further has a lift/collision detection device (300) connected to the controller for providing sensor input, and which Hft/coUision detection device (300) includes a first sensor element (340) and a second sensor element (345), The controller ( 1 10) is configured to receive sensor input of a distance value indicating a distance between the first sensor element (340) and the second sensor element (345), determine that a lift has been detected, fay comparing the distance value with a lift detection threshold and/or determine that a collision has been detected, by comparing the distance value with a collision detection threshold, wherein the collision detection threshold is different from the lift detection threshold.