There is provided a device and a method of operating the device for determining whether the device is immersed in a fluid. An acceleration signal for the device is acquired (302) and a pressure within the device is detected (304). It is determined whether the device is immersed in a fluid based on a comparison of the acquired acceleration signal with the detected pressure (306).