Patent ID: 8390411

Claim:
An electronic device, comprising: a housing having side walls and a front facing opening; a processor disposed within the housing; a display coupled to the processor and configured to present visual content, the display disposed within the front facing opening and having a topmost protective layer; a first magnetic element disposed beneath the topmost protective layer; a first sensor disposed within the housing and configured to detect a magnetic field passing through the top protective layer and respond by sending a first detection signal to the processor that responds by preventing the electronic device from presenting visual content by the display; and a pivotal attachment mechanism disposed at a side wall of the housing and configured to pivotally attach a cover to the electronic device, the cover comprising a flap, the flap comprising a first cover magnetic element that provides the magnetic field detectable by the first sensor only when the flap is in full contact with the display in a closed configuration, and a second cover magnetic element separate from and in proximity to the first cover magnetic element, the second cover magnetic element configured to magnetically attract the first magnetic element to secure the flap to the topmost protective layer.