Patent attributes
A magnetic electronic device includes a first body and a second body. The first body includes a first case and a magnetic member inside the first case. The second body includes a second case and includes a magnetic sensor, a magnetism guiding member and a switch control component inside the second case. The second case is connected to the first body to be movable relative to the first body. The magnetic sensor is disposed on the magnetism guiding member, and the switch control component is electrically connected to the magnetic sensor. The magnetism guiding member guides the magnetic field caused by the magnetic member, and the magnetic sensor detects the magnetic flux caused by the magnetic member. When the magnetic flux is larger than a first value, the switch control component switches a component's switch.