Having a cup of coffee before closing your eyes is the most effective way to combat daytime drowsiness, according to research. Sounds counterintuitive, but it takes 20 minutes for the caffeine to get into your bloodstream.