a roll compensation system for an electronic device , a method of mitigating impact of an electronic device and an impact - resistant mobile device incorporating the system or the method . in one embodiment , the system includes : a plurality of sensors operable to detect orientation and motion of the electronic device , a controller configured to detect a fall based on the motion and determine a mitigating roll based on the orientation and the motion and a compensator operable to carry out the mitigating roll thereby reducing the probability of a catastrophic impact .