Hacker News new | ask | show | jobs
by oefrha 2173 days ago
Not sure that sort of low level access is possible while the app is backgrounded. However, automatic sleep trackers have been available without official API since what, watchOS 2? So maybe.

You can also try to convince Apple to add that workout type. https://support.apple.com/en-us/HT207934

Look forward to WWDC 2021, introducing the favorite workout type of billions of people.