What are the features of the infrared sensor in the Mi True Wireless Earphones?

The Mi True Wireless Earphones comes with an infrared sensor, which can serve various functions and bring you convenience.
If you have an interest in the infrared sensor, here are more detailed advantages of it for your reference:
1. Infrared sensors can detect whether the earphones are being worn or are in proximity to your ears;
2. Infrared sensors can help manage power consumption by automatically turning the earphones on or off based on whether they are in use or idle. This contributes to longer battery life and improved user convenience;
3. You can answer or reject calls, adjust volume, or control playback through gestures detected by the infrared sensor;
4. Infrared sensors, when combined with other sensors like accelerometer or gyroscopes, can provide environmental awareness features such as ambient sound pass through or noise cancellation adjustments based on the user's surroundings.