A portable electronic device, comprising: a display housing that carries a first magnet (122a, 122b) that emits a first external magnetic field in accordance with a first orientation; and a base portion rotationally coupled to the display housing, the base portion defining an internal volume: an audio assembly comprising an audio assembly housing and a second magnet that emits a second external magnetic field in accordance with a second orientation different from the first orientation, the audio assembly housing positioned within the internal volume of the base portion; and a magnetic field sensor (118a, 118b) disposed within a volume defined by the audio assembly housing, the first external magnetic field generating a first electrical resistance value detected by the magnetic field sensor when the first external magnetic field is incident on the magnetic field sensor, the first electrical resistance value being above a threshold value, the second external magnetic field generating a second electrical resistance value when the second external magnetic field is incident on the magnetic field sensor, the second electrical resistance value being below the threshold value. a display housing that carries a first magnet (122a, 122b) that emits a first external magnetic field in accordance with a first orientation; and a base portion rotationally coupled to the display housing, the base portion defining an internal volume: an audio assembly comprising an audio assembly housing and a second magnet that emits a second external magnetic field in accordance with a second orientation different from the first orientation, the audio assembly housing positioned within the internal volume of the base portion; and a magnetic field sensor (118a, 118b) disposed within a volume defined by the audio assembly housing, the first external magnetic field generating a first electrical resistance value detected by the magnetic field sensor when the first external magnetic field is incident on the magnetic field sensor, the first electrical resistance value being above a threshold value, the second external magnetic field generating a second electrical resistance value when the second external magnetic field is incident on the magnetic field sensor, the second electrical resistance value being below the threshold value. an audio assembly comprising an audio assembly housing and a second magnet that emits a second external magnetic field in accordance with a second orientation different from the first orientation, the audio assembly housing positioned within the internal volume of the base portion; and a magnetic field sensor (118a, 118b) disposed within a volume defined by the audio assembly housing, the first external magnetic field generating a first electrical resistance value detected by the magnetic field sensor when the first external magnetic field is incident on the magnetic field sensor, the first electrical resistance value being above a threshold value, the second external magnetic field generating a second electrical resistance value when the second external magnetic field is incident on the magnetic field sensor, the second electrical resistance value being below the threshold value.