Modafinil can be useful in managing residual daytime sleepiness in patients with obstructive sleep apnea, but it's not a primary treatment.