Why do the Xiaomi Smart Audio Glasses sometimes remain connected to the phone's Bluetooth after being removed?

When the glasses are removed, the capacitance value in the wear detection area on the temple changes. By comparing the capacitance value in this area with a baseline, the glasses determine whether they are being worn. When switching from a "wearing" to a "non-wearing" state, the glasses initiate a Bluetooth disconnection with the phone.
The following are the known scenarios where the Bluetooth connection could be maintained even after the glasses are removed:
If there is some residual sweat on the temples. In such cases, wiping the temples or waiting for the sweat to evaporate can help trigger the transition to a non-wearing state, prompting the glasses to disconnect from the phone's Bluetooth.