vmiklos / plees-tracker

Plees Tracker is a simple sleep tracker for your Android phone.
https://vmiklos.hu/plees-tracker/
MIT License
151 stars 38 forks source link

Add a start time offset #274

Closed fincentxyz closed 1 year ago

fincentxyz commented 2 years ago

No one falls asleep right as they press 'Start'. An option to add a start time offset would be neat. Could just be pre made values like 5, 10, 15 minutes or an exact value input (in minutes).

Wanted to try and implement this myself, but I unforunately have 0 experience with android applications.

vmiklos commented 2 years ago

The settings activity already has a time selector for the ideal sleep length, something similar could be added for a length that's always added to the actual start timestamp, reducing the sleep length.

vmiklos commented 1 year ago

Will be available in v7.4.0, to be released in early Aug.

k3dar commented 2 months ago

Can you please add more values? 30/45/60minutes?

fincentxyz commented 2 months ago

Can you please add more values? 30/45/60minutes?

Haha, I also wish for more values sometimes. Some nights I have to restart the sleep tracking because I'm not able to fall asleep in 15 minutes.

Maybe it would be nice to be able to select a number for the minutes ourselves with some sort of number picker.

vmiklos commented 2 months ago

Can you please add more values? 30/45/60minutes?

Sure, why not. Care to submit a PR? If not, I'll get around to do that.

Maybe it would be nice to be able to select a number for the minutes ourselves with some sort of number picker.

That's also doable, could you please open a new issue for that? This is closed already. Thanks.