I have question(s) related to Android Doze Mode (Android N [deep doze] and M). As per Android official documentation once device enters doze mode, it stops receiving location updates either via GPS or Network.
And to exit doze mode, either screen turns on or power plugged in. But how about
1) In doze mode if device is moved but screen remains off. Will device exit the doze mode for movement?
2) In Doze mode are sensors such as Gyro or accelerometer are they working or also stopped?