In this article
Quick answer
Sentio is a private Android companion app I built from scratch for a budget smartwatch I own. With no public documentation, I worked out how the watch talks to the phone over Bluetooth Low Energy, wrote my own connection layer, and built a Kotlin and Jetpack Compose app that syncs health data, cleans out bad readings, turns them into daily scores and controls the watch, with no account, no cloud and no analytics.
Key takeaways
- Undocumented Bluetooth protocols can be mapped safely by changing one thing at a time and verifying every finding on the real device.
- A safety block list and read-back after every write protected the only watch I had.
- Offline-first, incremental sync made the app open instantly.
- Most of the "algorithm" work was cleaning messy sensor data, not the scoring maths.
- Measured results: about 0.5 s handshake, 0.4 s cold start, about 1 mAh per hour in the background.
The problem
I bought a budget smartwatch. The hardware was decent; the official companion app wasn't. It drained my phone battery in the background, asked for location, contacts and call logs just to show my steps, uploaded my health data to an unknown server, buried the important numbers several taps deep, and showed obviously wrong readings. It also only tracked sleep if I wore the watch in bed, which I don't.
I didn't want another app that just shows numbers. I wanted one that is fast, private, light on battery and actually helpful, so I built my own, with one firm rule: never risk damaging the watch. I only had one.
What I built
Sentio is a complete Android app built on my own Bluetooth connection layer. It does everything useful the official app did (sync, notifications, calls, alarms, find my watch, settings, weather and music) and then goes further: it cleans the data before using it, turns it into scores that explain themselves, detects sleep from phone use when the watch isn't worn, and keeps everything on the phone.
- Private by design: no account, no cloud, no analytics, no ads.
- Fast: about 0.5 s to connect and 0.4 s to open, with the last data shown instantly.
- Honest data: bad readings filtered out, and a confidence label on every score.
- Helpful, not noisy: a morning report and nudges that only appear when they matter.
How I approached it
The whole project ran from October to November 2026, alongside my full-time job. I worked in five stages, and each one had to be stable before the next began.
- Set the rules first. Seven written goals: support everything useful the official app did, a much better interface, privacy first, minimal permissions, low battery use, better data, and never damage the watch.
- Learn how the watch talks. I recorded Bluetooth traffic between my own watch and phone, changed one setting at a time, and labelled every finding "verified on the watch" or "to be confirmed".
- Build a safe connection. Pairing, a fast handshake, and two small tested pieces for commands and bulk data, with dangerous commands blocked at the lowest level.
- Sync, clean and score the data. Incremental sync into a local database, filters for bad readings, then scores that explain themselves.
- Design, test and live with it. A calm interface, 8 widgets, testing on two real phones and the real watch, and then daily use. Living with it is the real test.
Key decisions and why
These are the choices that shaped the app, and the reasons behind them.
Everything stays on the phone
No account and no cloud. Health data is personal, and keeping it local also made the app faster: the last data shows instantly instead of waiting for a server.
Safety before features
I had one watch. Reset, power-off and firmware commands are blocked at the lowest level, and every setting sent to the watch is read back to confirm it saved.
One layer talks to the watch
All Bluetooth code lives in one place, so the screens never deal with raw bytes. Scores, filters and codecs are plain Kotlin with no Android code, which is why they could be covered by unit tests.
Work with Android, not against it
Some phones kill background apps hard. Instead of fighting that, Sentio uses a companion device link, a notification listener and inexact alarms, and syncs every 2 hours instead of constantly.
Honest scores
This watch doesn't provide heart-rate variability, which premium wearables rely on. So every score is built from what it can measure, compared with my own normal, and shows a confidence label.
Widgets drawn as images
Standard widget layouts look different on every launcher. Drawing each widget with my own code at its exact size made them identical everywhere.
Official app vs Sentio
| Area | Official app (in my testing) | Sentio |
|---|---|---|
| Opening the app | "Syncing, please wait" on every open | Last data shows instantly |
| Alarms | Fixed slots; time couldn't be changed | Full editor, confirmed on the watch |
| Data quality | Impossible values like a 23 h 59 min night | Bad readings filtered out |
| Sleep | Only if worn in bed | Detected from phone use too |
| Insights | One unexplained number | Readiness, Strain, Sleep and Energy, each explained |
| Export and widgets | None | PDF, CSV, Health Connect and 8 widgets |
| Privacy | Account and cloud upload | No account, no cloud |
One bug, start to finish
SymptomEverything worked, then the watch dropped the connection exactly every 60 seconds.
InvestigationI logged every message in both directions and compared my app's conversation with the traffic I had recorded from the official app, one step at a time.
CauseThe watch was waiting for a "bind" confirmation that the official app sends after connecting. Without it, the watch gave up after a minute.
FixSentio now sends the same confirmation as part of its handshake. The link stays up for hours.
LessonWhen hardware misbehaves, compare against a known-good conversation instead of guessing.
Results
| Measure | Result |
|---|---|
| Connection handshake | about 0.5 s |
| First sync (7 days of data) | about 8.5 s, then near-instant |
| App cold start | about 0.4 s |
| Background battery use | about 1 mAh per hour |
| Unit tests | 68 |
| Data sent to any server | none (only optional weather) |
How I measured it
- Devices: an Android 11 test phone, my daily Android 13 phone (which closes background apps aggressively) and the real watch. Bluetooth can't be tested in an emulator.
- Speed: cold start measured on the release build, about 6 MB in size.
- Battery: background CPU use read from Android's own battery statistics with the screen off.
- Tests: 68 unit tests cover the codecs, parsers, data filters, scores and sleep detection.
Most importantly, I actually use it every morning, and I've stopped opening the official app.
The deep dive
Tap any part to read how it works.
How I learned the watch's protocol
There was no public documentation. I recorded the Bluetooth traffic between my own watch and phone using Android's developer options, mapped the watch's Bluetooth services, and matched each action to its message by changing one setting at a time. Every finding was marked "verified on the watch" or "to be confirmed", and nothing was trusted until the real device confirmed it.
This work was done only so my own app could talk to a watch I own. I don't use or ship any code from the official app.
Keeping the connection stable
Pairing uses Android's Companion Device Manager, the standard system pairing screen, which also lets the app reconnect later without location permission. A short handshake sets the time and reads the battery in about half a second.
Two small, fully tested pieces sit underneath: one for short commands, with a safety block list so reset, power-off and firmware commands can never be sent, and one for large data transfers, checked against real captured packets. Every setting written to the watch is read back to confirm it saved.
The connection lives in one long-running component that reconnects by itself when the app restarts or the watch comes back into range. The hardest bug here is told in full above, in "One bug, start to finish".
Syncing and cleaning the data
The first sync pulls 7 days of data in about 8.5 seconds; after that only new data is fetched, so most syncs are almost instant. Everything is stored locally, with safe migrations so updates never wipe history.
Before anything is saved, Sentio removes placeholder heart values, impossible spikes and readings taken while the watch wasn't worn, and merges watch steps with the phone's own step counter so steps aren't lost when the watch is off. A full week of detailed data takes about half a megabyte.
Turning data into scores
Instead of raw graphs, Sentio answers simple questions: Am I recovered? Did I do enough today? Did I sleep enough?
- Readiness (0 to 100) compares today with my own 30-day normal, not generic averages.
- Strain (0 to 21) measures how hard my body worked, based on heart rate zones.
- Sleep covers sleep need, sleep debt, a score and a suggested bedtime, and learns how much sleep I personally need.
- Energy and Heart Points track a body-battery curve and progress toward 150 active minutes a week.
The methods behind them are established ones, adapted to what this watch can measure:
- Personal baseline: a 30-day median with a robust spread (median absolute deviation), so one bad day can't skew "normal".
- Maximum heart rate: the Tanaka formula, which is more accurate than "220 minus age".
- Strain: Banister's TRIMP training-load model.
- Heart Points: the WHO guideline of 150 active minutes a week.
- Calories: the Mifflin-St Jeor and Keytel equations, used when the watch's own numbers look wrong.
The exact weights, limits and calibration are in the full case study. Every score has a "?" button explaining what it means and what data it needs. Because I don't wear the watch at night, I also built sleep detection from phone use: it finds the longest quiet stretch between the last lock at night and the first unlock in the morning, and asks me to confirm possible naps with one tap.
Personal estimates, not medical advice. The scores are built from what this watch can measure and are labelled as estimates in the app.
Design and widgets
I wanted Sentio to feel premium and calm: a refined sport-watch look, my own design system in Jetpack Compose, and charts drawn by hand on canvas.
Each of the 8 widgets is drawn by my own code at its exact size, so they look identical on every phone launcher.
Privacy, battery and security
- Privacy: no account, no cloud, no analytics, no ads. Data leaves the phone only when I export it.
- Battery: about 1 mAh per hour in the background, measured with Android's battery stats, with gentler syncing in battery saver.
- Security: app lock with fingerprint, password-protected backups, hidden one-time codes, and release builds signed with my own key.
How I tested it
Bluetooth can't be tested in an emulator, so everything ran on real hardware: an Android 11 test phone, my daily Android 13 phone (which closes background apps aggressively) and the real watch. Alongside 68 unit tests, I used a hidden test screen with live logs and written checklists for every session, and tested small screens, large fonts and backup-restore across phones.
What I learned
- Without documentation, patience wins. Change one thing at a time and trust nothing until the device confirms it.
- Build safety in from day one when you only have one piece of hardware.
- Work with Android's background limits, not against them.
- Real data is messy, and handling it is most of the work.
- Design is in the details: every score should explain itself.
“Most good things are built quietly,
one honest step at a time.”
Building something similar? Ask me
If you're working on something close to this, I'm happy to answer questions, share what worked and point you in the right direction.
- Founders with a wearable, health or connected-device idea who want to know what's realistic.
- Developers stuck on Bluetooth connections, background limits, syncing or battery drain.
- Students learning Android, Kotlin or Jetpack Compose who want to see how a real project is planned.
Questions people could ask me:
- Why does my Bluetooth connection drop on some phones but not others?
- How do I sync data in the background without draining the battery?
- How should I structure an Android app so the hard parts can be unit tested?
- How do I turn noisy sensor data into a number people trust?
- Is my device idea realistic, and where should I start?
Request the full case study
This page is the short version. The full technical case study covers the protocol research, connection design, the exact scoring formulas and weights, the architecture and every test result. I share it personally: send me a message through my contact form with a little about yourself, and I'll email it to you.
Request the full case study Ask me a question
Personal project, built for my own device and my own use. Not affiliated with, endorsed by or connected to any smartwatch manufacturer; brand names are omitted on purpose. Illustrations use sample data. Last updated 18 November 2026.
Frequently asked questions
How did you connect to a smartwatch with no public documentation?
I recorded the Bluetooth traffic between my own watch and phone using Android's developer options, mapped the watch's Bluetooth services, and matched each action to its message by changing one setting at a time. Every finding was marked as verified on the watch or still to be confirmed.
Does Sentio send health data to the cloud?
No. Sentio has no account, no cloud and no analytics. Health data stays on the phone, and the internet is used only for an optional weather forecast. Data leaves the phone only when I export it.
Could a custom companion app damage the watch?
It could if it sent the wrong commands, so Sentio has a safety block list that makes reset, power-off and firmware commands impossible to send, and every setting written to the watch is read back to confirm it was saved.
Is Sentio available to download?
No. Sentio is a personal project built for my own watch and my own use, and it is not published on any app store.
How do you keep a Bluetooth Low Energy connection stable on Android?
Pair through Android's Companion Device Manager so the app can reconnect without location permission, keep the connection in one long-running component that reconnects by itself, and compare your app's messages with a known-good conversation when the device drops the link. In Sentio, a missing confirmation message caused a disconnect every 60 seconds.
How do you sync health data from a wearable without draining the phone battery?
Sync incrementally so only new data is fetched, sync on app open and every 2 hours rather than constantly, back off in battery saver, and debounce heavy work like recomputing scores. Sentio uses about 1 mAh per hour in the background, measured with Android's battery statistics.
Can I ask you questions if I am building or learning something similar?
Yes. Founders, developers and students can send me a question through the contact form on my portfolio, whether it is about Bluetooth connections, background syncing, testing or whether an idea is realistic.
Can I read the full technical case study?
Yes. The full version covers the protocol research, exact scoring formulas, architecture and test results. Request it through the contact form on my portfolio and I will send it to you personally by email.
Who said "Most good things are built quietly, one honest step at a time"?
Yash Trivedi, an AI Automation & SEO Specialist and developer from Ahmedabad, India. It is his own original line, written in November 2026 in his Sentio case study, about building a private smartwatch companion app, to describe how the project was done: carefully, step by step, with every detail checked on the real device.
Want the full technical case study?
This page is the short version. The full case study covers the protocol research, connection design, the exact scoring formulas, the architecture and every test result. Request it through my contact form and I'll send it to you personally.