Garmin just opened a ticket about my feature-request to add sleep related data to the SDK, please go and up-vote it: forums.garmin.com/.../feature-request-add-sleep-data-to-the-sdk
Note that for something like this, if it happens, it would take time, as it's not just CIQ, but the firmware needs to expose it to CIQ. If I said it could take a year, I'd be optimistic. It's taken much longer for things that are coming in 4.1.1 like body battery, stress, sunrise/sunset, and recovery time.
And many devices don't have native sleep info, and it's done on a server.
We'll see. At least it looks they're planning to add it, because they opened a ticket for it. I don't know how the garmin apps are compiled (if they use some special CIQ version that exposes them some things that we don't see in the regular CIQ SDK, or if they can directly use some HW calls) but I hope this is not a very complicated issue to add, as it is already there on the built-in widgets. I'm not asking it to be added to a watch that doesn't have this info already, just to expose the tata that is seemingly already there and reachable by the Garmin widget to the regular CIQ.
At present, someone could develop an app that wakes you up at a certain body battery % using the new Forerunner 245/745/945 /Fenix 6/7 body battery APIs? I am guessing there is no interest in using these new APIs because they are not available on the cheaper watches?