Yup, we are in Android Marshallow era for those who are using Mi4/Mi3.
This post will help you to resolved the above issue/bug.
Do follow steps by steps to make sure things working and you don't have to repeat it again.
Step 1: Download the file below.
Link- save and unzip in your phone.
2: Uninstall Google apps below one by: setting > install apps > download tap
- Google Account Manager
- Google Play Services
- Google Play Store
- Google Services Framework
3. Once you complete, next thing is to navigate to your file already downloaded and install one by one. Click done after install and do not open the apps.
Once completed, reboot your phone. You will need to re-input your google account and update the service framework.
You also need to enable all access for google service framework but no body sensor request will appear.