Sleep inertia describes the executively deteriorated state of mind after waking up, characterized by an impulse to immediately go back to sleep. Long-term caffeine use can worsen sleep inertia by increasing adenosine receptors (source). Excessive sleep inertia may also be an indicator of sleep deprivation.