I have the same error in my POCO X3 PRO, it's truly annoying, and it's almost impossible to use for some time. Not only rotating phone, but also when opening some games that uses accelerometer at opening, and even when screen is off but mobile is at movement, or resting on the table playing...