Sleep deprivation has been linked to obesity, diabetes and depression.