I don't know about your model but on the older (2010) magnets have been who have switched to sleep mode the laptop, MB you/someone disassembled the laptop and lost it ?(if any now)
Also, the connectors were embedded sensor which I understand that you closed the lid (the magnet) MB it broke...