Early and experimental

Remnant. Sleep tracking that stays on the phone.

Sleep tracking for Swift apps, using the phone's microphone overnight. It's what Parley's sleep tracking runs on.

The goal

Wake up in light sleep, close to when you want to get up, without a second of your night leaving the phone.

An example night, drawn to show the idea. Not real data.

How a night works

  1. ListensThe phone's microphone, by the bed, all night.
  2. MeasuresEvery 30 seconds becomes a few numbers, like how loud and how busy the sound was.
  3. ForgetsThe sound itself is thrown away. Only the numbers are kept, on the phone.
  4. WakesA model reads the numbers and picks a light moment in your window. The real alarm stays set.

Where it fits

Phone sleep tracking that listens is out there, but in closed apps and paid SDKs. Remnant is the open version any Swift app can use.

Paid sleep SDKsRemnant
PriceA licence dealFree, Apache 2.0
Sign-upAn API keyNone
The codeClosedOpen
The modelTheirsBring or train your own
Your nightDepends on the dealNever leaves the phone

Where it's up to

Works now

  • Listening overnight, with interruptions shown
  • 30-second measurements, audio thrown away
  • Wake plans with real alarms set up front
  • Importing and running a model on the phone
  • Keeping and exporting each night

Not yet

  • A trained sleep-stage model
  • Proof it matches a sleep lab
  • Moving your alarm earlier

Sound level alone isn't a sleep stage. A model has to be tested and approved before it's allowed to wake you early, so for now it doesn't move your alarm.