Get Free Synopsis PDF
We will prepare a detailed synopsis for your college submission. Includes problem statement, objectives, DFD, ER diagram, and more.
This app tracks sleep duration and quality using the phone's accelerometer and microphone to detect movement and noise/snoring patterns overnight. It generates a nightly sleep score with a breakdown of estimated light, deep and awake phases, and visualizes trends over weeks to help users understand their sleep habits. A smart alarm feature wakes users during a lighter sleep phase within a chosen time window for a gentler wake-up.
Problem Statement
Many people have poor sleep habits but no easy way to understand their actual sleep patterns without expensive dedicated sleep-tracking hardware. A phone-sensor-based sleep tracker gives accessible insight into sleep quality and trends using hardware everyone already owns.
Set the right expectation first
A phone on the mattress can't measure real sleep stages the way a sleep lab does. What it can do is notice movement and noise and turn them into useful estimates. Say this clearly in your synopsis. Examiners respect a project that knows its limits, and it keeps you away from medical claims you can't back up.
How the app can work
- Recording: a foreground service logs accelerometer readings and the noise level (just the loudness, not the audio itself) every few seconds through the night.
- Movement score: count how often movement crosses a threshold in each 5-minute window. Long quiet windows are marked as likely deep sleep, frequent movement as light sleep or awake.
- Snoring and noise: flag windows where loudness stays high for several seconds and show them on the night's timeline.
- Sleep score: combine total time asleep, number of wake-ups and noise events into a 0-100 score, and explain the formula in your report.
- Smart alarm: in the last 30 minutes before the alarm time, ring as soon as a light-sleep window is detected.
Build order
Get one full night of raw data saved to a file first. Battery use and the app being killed in the background are the real problems here, so solve them early. Then add the scoring logic, the charts and the alarm. Flutter or native Android both work. On Android, Google's Sleep API can also give you sleep segments you could compare with your own estimate.
Testing without a sleep lab
Ask 3-5 friends to use the app for a week and keep a short morning diary (bedtime, wake time, how rested they felt). Compare the app's numbers with their notes. A small, real comparison makes a much better results chapter than screenshots alone.
Objectives
Use accelerometer data to detect movement patterns indicating sleep phases.
Use microphone sampling to detect snoring/noise disturbances during sleep.
Generate a nightly sleep score combining duration and estimated quality.
Visualize sleep trend charts over days and weeks.
Implement a smart alarm that wakes the user during a lighter sleep phase.
Modules
Sleep Session Capture
Records accelerometer and ambient noise data throughout the night.
Phase Estimation
Heuristic classification of movement data into light/deep/awake segments.
Sleep Score
Composite score combining total duration, phase balance and disturbances.
Trend Dashboard
Weekly/monthly charts of sleep duration and score history.
Smart Alarm
Wakes the user at the lightest detected sleep phase within a set window.
Expected Output
A working sleep tracker that runs overnight on the user's phone, producing a sleep score, phase breakdown and trend charts, with a gentler smart-alarm wake-up feature.
Future Scope
The app could integrate with wearable heart-rate sensors for more accurate phase detection and add personalized sleep-improvement tips based on detected patterns.