rememberMotionActive

fun rememberMotionActive(thresholdMps2: Float = 1.2f, holdMs: Long = 900): Boolean

Returns true while motion is detected (and for holdMs after the last motion). Uses TYPE_LINEAR_ACCELERATION if available; falls back to accelerometer with a simple high-pass.