I bought an adjustable base for my mattress. It has something called a sleep tracker that uses sensors on the base to determine time I am asleep, different types of sleep (rem, deep and light), and time I am awake then rates my sleep each morning. Per the tracker my average quality of sleep is typically rated about 90 which is quite good. I have learned that my sleep quality improves if I raise the foot of the bed so my feet are a little higher - don’t know why. I got the adjustable base primarily to raise the head of the bed to help with acid reflux problems and it has worked quite well for that. The base also has a massage feature but the dog almost had a heart attack when I turned it on!