The present application relates to a device (10) for treating a part of a body of a person to be treated. The device has a treating unit (12) and an angular orientation identifier (40) to generate information indicative of the angular orientation of the treating unit (12). The angular orientation identifier comprises an orientation sensor to generate information indicating the angular orientation with respect to the horizontal. A controller is configured to adjust one or more characteristics of the device (10) in response to information indicative of the angular orientation of the treating unit (12) provided by the angular orientation identifier (40). The present application also relates to a method of treating a part of a body of a person to be treated.