Patent attributes
A hearing aid compatible portable electronic audio device is configured to automatically determine whether or not the device is being used by a hearing impaired user who is wearing a hearing aid, and select a mode of operation based on this determination. The device includes a proximity sensor and a magnetic field sensor. The proximity sensor is used to detect a change in distance of the device to the user's ear. The magnetic field sensor is used to detect a change in magnetic field caused by the device moving relative to the hearing aid. The device selects between a normal audio mode of operation and a hearing aid compatible mode of operation based on both the change in detected distance and the change in detected magnetic field. Other embodiments are also described and claimed.