The following information may help to address your question:
There is no specific treatment at this time for idiopathic hypersomnia (IH). However there are medications used to treat narcolepsy that may help some people with IH. The goal of treatment is to help the person with IH stay awake during the day. The medications include stimulants, non-stimulants, and a medication taken at night to increase deeper sleep. Regular follow-up to make certain the therapy continues to help is very important. Scheduled naps and behavioral therapy do not appear to be helpful for those with idiopathic hypersomnia.
Specifically, the medications which have been used to treat IH include modafinil, sodium oxybate, amphetamine, dextroamphetamine, methylphenidate, and selegiline. Since these medications were originally developed and approved for treating narcolepsy, they may not work as well for IH. Each of the medications also has side effects, therefore it is important to be certain the person with IH is carefully monitored by a doctor as different medications are tried. Other treatments including flumazenil (blocks GABA-A)and tiprolisant (blocks histamine) seem promising in early studies for people with IH, but to date there is no FDA approved treatment for IH.
Modafinil is the first-line treatment for idiopathic hypersomnolence due to its better risk/benefit ratio. This medication has proved clinically useful in the treatment of narcolepsy and other causes of excessive daytime sleepiness such as idiopathic hypersomnolence. It is a psychostimulant that enhances wakefulness and vigilance, but its pharmacological profile is notably different from the amphetamines, methylphenidate (Ritalin), or cocaine. Modafinil is less likely to produce side effects such as jitteriness, anxiety, or excess locomotor activity or lead to a hypersomnolent rebound effect. It is long-acting, the normal elimination half-life of modafinil in humans is between 12-15 hours.
For more information about modafinil, visit the following link to a page from the eMedicine Web site. http://emedicine.medscape.com/article/291699-treatment