← Questions

Design a smartwatch sensor subsystem

0
AppleSystem designLast asked Feb 2026

A system design interview question asked in Apple's system design round, last asked Feb 2026. It tests embedded, sensors and power.

Design the subsystem of a smartwatch that reads its sensors (accelerometer, gyroscope, heart-rate optical sensor, and others) and delivers the data to the system and to apps. The watch has a small battery that must last all day, so power drives most decisions.

Requirements

  • Functional: sample each sensor at the rate its consumers need; buffer and batch samples; let apps and system features (workouts, fall detection, sleep) subscribe to raw or processed data; run always-on detection (steps, wrist raise) without waking the main processor; detect and report sensor faults.
  • Non-functional: all-day battery life, low latency for interactive features, accuracy good enough for health features, robustness to motion and skin contact, and a design that hardware, firmware and software teams can validate.

Clarifying questions

  • Which sensors, and which features need them? Which features are always on?
  • What latency does each consumer need: wrist raise in tens of milliseconds, a step count every few minutes?
  • Is there a low-power coprocessor next to the main application processor?
  • How accurate must health measurements be, and are any regulated?
  • How many apps can subscribe at once, and can third-party apps get raw data?

What a strong answer covers

  • Sensor choice and trade-offs among accuracy, power, size and reliability.
  • The data path: sensor hardware FIFOs, an always-on low-power coprocessor that samples, filters and runs simple detectors, and batching so the main processor wakes rarely.
  • A subscription API with requested rate and latency; the system merges requests and samples at the highest rate any consumer needs.
  • Signal processing on the device: filtering, motion-artifact removal for heart rate, sensor fusion of accelerometer and gyroscope, calibration.
  • Power budgeting per sensor and per feature, duty cycling, and what happens on low battery.
  • Faults and validation: detecting stuck or noisy sensors, self-tests, logging for debugging, test rigs for hardware and firmware together, and working with suppliers on part quality.

Follow-ups

  • Add continuous blood-oxygen measurement within the same battery budget.
  • A firmware update makes heart rate noisy on some units. How do you debug it?
  • Data must sync to the phone: what do you batch, compress and send, and when?

Where it's asked

  • Apple · System design · Last asked Feb 2026

What it tests

embedded · sensors · power

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing