Wake me up after I reach ideal sleep time

This option is ideal for scenarios where you don’t have a set time in your mind to wake up and you just want to wake up after reaching your ideal sleep time. I am not talking about picking the ideal alarm time before you get into bed, I am talking about analyzing your actual sleep waking you up after you reach ideal sleep time.