iPhone 18 Pro: AVAudioEngine input tap returns all zeros after the Always-On Display turns off overnight

My app records audio overnight in the background: UIBackgroundModes audio, AVAudioSession category playAndRecord with mode measurement, and an AVAudioEngine with a tap on inputNode.

On a customer's iPhone 18 Pro running iOS 27.2.1 (24B156), the tap starts delivering buffers of exact zeros about two hours into the night. It keeps delivering zeros until she picks the phone up in the morning.

Her sysdiagnose shows the same sequence on three consecutive nights:

  1. powerd logs SmartPowerNap: enterSmartPowerNap.
  2. The backlight state changes from inactiveOnLive to suppressed, with the explanation "alwaysOn suppressed - SmartPowerNap". The panel reaches 0 nits about two seconds later.
  3. Under a second after that, every sample in the recording is 0. PowerLog's per-app mic RMS reads -240 from that point on.
  4. Hours later powerd logs Exiting SmartPowerNap. Session end reason MotionDetected. The display wakes and mic input returns within a second.

Timing on the third night:

  • 23:55:57.234 Smart Power Nap entry
  • 23:55:59.14 panel at 0 nits
  • 23:55:59.8 first zero sample in the recording
  • 05:46:58.032 Smart Power Nap exit
  • about 05:46:59 mic input returns

During the silent hours:

  • The app receives no interruption, route change, media services reset or AVAudioEngineConfigurationChange notification.
  • The engine keeps running and the tap keeps firing on schedule.
  • audiomxd logs no deactivation for the session and holds its power assertions throughout.
  • The system never sleeps.

I can't reproduce it. My iPhone 16 Pro on the same build logs "SmartPowerNap: feature not enabled or predictor not initialized" on every lock, so it never takes this path.

Questions:

  1. Does iOS gate mic input by design while Smart Power Nap suppresses the Always-On Display?
  2. Can an app keep recording through it, or get a notification that input has stopped?
  3. Does restarting AVAudioEngine while the session stays active restore input in this state? I can detect a run of exact zeros and restart the engine, but I have no device to test it on.
  4. Has anyone else with iPhone 18 Pro users seen this?

I filed FB25663635 with the sysdiagnose attached.