Settings → Sleep noise recording
You can check whether the phone is recording on the sleep tracking screen - red light indicates that the phone is currently recording.
This is a companion discussion topic for the original entry at https://docs.sleep.urbandroid.org//sleep/sleep_noise_recording.html