Make DeviceIdle motion sensing flaggable-off

We will still go through the same routine as before, and in particular
a misconfigured phone without any motion sensors will still fail to
progress into full doze state.

With config_autoPowerModeUseMotionSensor overriden to false, this is not
true any more and we make STATE_SENSING a no-op that moves straight into
STATE_LOCATING as if we immediately got a "no motion" callback.

Bug: 110756616
Test: atest com.android.server.DeviceIdleControllerTest
Test: atest BatterySaverPolicyTest
Change-Id: I00d778c44257b3e3682494c0d3b10f4c3d68c382
4 files changed