Skip to content

Nap suggestions: option to auto-log high-confidence naps #625

Open

Description

@michistopp

What happened (Edge 0.11.3 build 78, iOS, WHOOP band)

I took a nap on 24/10, roughly 16:00–17:25. Edge detected it correctly: there was an activity_suggestions row with kind=nap, 16:14:55–17:17:01, confidence 0.85, created at 17:23:22. I never saw it, because the "Did you nap?" notification is off by default (napDetectEnabled = false). So I logged the nap by hand, and the suggestion became superseded.

Because only confirmed naps count, a correct detection is lost unless the user opens the app at the right moment and confirms it.

Request

An opt-in setting such as "Auto-log naps above confidence X" (for example ≥ 0.8). Naps above the threshold would be logged automatically, and could still be edited or deleted. Lower-confidence ones would stay as suggestions.

Alternatively, turn the nap notification on by default, or show pending nap suggestions more visibly on Today.

Thanks for the project. Detection itself worked well, and the HR dip and stillness matched my raw 1 Hz data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions