Hello. I dont no, its global issue or only xiaomi.eu rom issue. I have Xiaomi mi note (virgo). I reports this bug on en.miui.com site and nothing answers. Maybe is only xiaomi.eu issue. If I wake up my phone from few hours sleep, rotation not work. The same situation is on autobrightness. This function have very delays. If I turn off the light in my room, autobrightness set to low on very very delay. I have this problem on all marshmallow roms (from 6.1.x to last version 6.3.3). I tried full wipe, fastboot install roms. This not resolve problem. Problem is only on miui. In others apps (like sensor test, games etc.) it is working normally, imediatelly on wake up. Please help. Best Regards.