Why does the Xiaomi phone show a headset icon when no headset is inserted?

If the Xiaomi phone shows a headset icon when no headset is inserted, please refer to the following information:
1. The phone can temporarily misrecognize the headset state, so please restart the phone and check if the headset icon disappears.
2. Dust or debris in the headset port can cause the phone to mistakenly detect a headset, so please check the port (for Type-C ports, note that it is also used for charging), clean it carefully, then restart the phone and test again.
3. There can be an issue with headset detection, so please insert a compatible headset (3.5mm round port for standard headsets, Type-C for devices without a round port) and check whether it works normally.
4. System software can have bugs affecting headset detection, so please back up your phone data, reset the phone, and upgrade to the latest OS version.
5. If none of the above steps resolve the issue, there can be a hardware problem with the headset port or internal components, so please contact Xiaomi after-sales service for professional inspection and repair.