Sometimes my phone struggles to auto rotate as well, but all I have to do is rotate the phone to what it's stuck at for a second and then rotate again how I want it. If that makes sense lol. Make sure your phone is straight up and down when rotating also. As for your screen timing out, does it do it while nothing is happening on your phone? If a video is playing or anything like that then the screen will not time out. Depending on what phone you have there could be a setting like "screen attention" which prevents your display from turning off while you're looking at it. The setting would be in display settings. It would help to know which phone you have.
10-15-2022 05:26 PM