How to fix android phone proximity sensor not working during call / screen keep on during call

How to fix the Android phone's proximity sensor not working during a call/screen keeps on during the call Many Android phone users reported a proximity sensor issue, including Ximoni Redmi Y1, Redmi A1 that phone After some use soon it seems that during a call, the phone screen light is not turning off when it is put near the ear. It seems to be very frustrating and is very irritating as it creates many problems like unknown hold the call even call disconnecting. Troubleshoot to solve the proximity sensor issue in the Android phone. Wipe the cache partition: What is this ? The system cache partition stores temporary system data. It's supposed to allow the system to access applications more quickly and efficiently, but sometimes things get cluttered and outdated, so a periodic cache clearing can help make the system run more smoothly. It is different from clearing individual app caches, and it won't lead to any loss of personal data or settings. Many com...