I'm trying to get the user specified sleep time with the call:
var time = UserProfile.getProfile.sleepTime;
Unfortunately, the value returned does not match what is set on my Venu3. If I set the sleep time to 12:00AM this API returns a Time.Duration...