Treatment for hypersomnia involves slowly removing any prescription drugs that may be causing excessive sleepiness, avoiding alcohol, and resetting your sleep cycle. When that doesn’t work, modafinil or armodafinil upon awakening is generally safe, is tolerated well, and helps to maintain daytime wakefulness without causing jitters, nervousness, or sleep difficulties at night.