The timing of activity rhythms in patients with dementia is related to survival.