Only register stationary detector while idle

The stationary detector takes some non-zero amount of power, this
should help save power in the case where the device is not idle.

Bug: 196997374
Test: manual + presubmit
Change-Id: Ia1f0b85ee5ccb8a61b3f4514ccbeaf1eef36016b
1 file changed