This sleep-tracking medical device detects activity of the brain