Use your quality of sleep as a measure of your quality of life.
If you don’t have the energy to do your work, know that your’e not sleeping enough.
If you’re weary, then sleep at the same time or change your diet.
If you toss and turn, write down what you’re thinking about.
Any discomfort in sleep is a measure of something in your life.
Treat it as a thermostat.
In a study of athletes, the most predictive metric of success what quality of sleep.
So optimize it.