There is often some degree of cognitive impairment and also increased risk of injury (eg, when operating heavy machinery or engaging in other activities during which unintentional sleep episodes would be hazardous).