The University of Maine was recently issued a patent, US 10,244,977, for a device that detects brain injury by measuring sleep movement patterns. This technology will be licensed by Activas Diagnostics, a UMaine spin-off company.
source https://www.lifetechnology.com/blogs/life-technology-news-blog/patent-issued-to-device-with-potential-to-detect-early-symptoms-of-alzheimers-cognitive-impairment