The present invention relates to a method for transitioning a device controller comprised with an electronic device from an at least partly inactive mode to an at least partly
active mode, wherein the method comprises: determining the area portion of a finger detecting structure being touched by an object; determining a force applied on the
fingerprint sensing device. When the area portion of the finger detecting structure being touched by the object exceeds a predetermined threshold area portion, and the force exceeds a predetermined threshold force value, transitioning, using the pre-
processing module, the device controller from the at least partly inactive mode to the at least partly
active mode. The invention also relates to such an electronic device.