Research shows that brain activity patterns during sleep change as people grow older and based on how long they have been awake.