Sleep inertia is the grogginess and slowed thinking that follow waking up. Reaction times, memory and decision-making are worse for a while after waking, usually from a few minutes to about half an hour, and the effect is stronger when someone wakes from deep slow-wave sleep or after sleep deprivation. It is why a long nap can leave people feeling worse at first.
Papers That Mention Sleep Inertia
A 40-Minute Meditation Sped Up Beginners' Reactions, While a Nap Slowed Them
Can a short meditation sharpen alertness, or even stand in for sleep? Ten students new to meditation took a reaction-time test before and after 40 minutes of meditation, a nap or ordinary activity. All ten responded faster after meditating, by about 7%, while nearly all slowed after napping or the control activity. Seven long-term yogis slept 5.2 hours a day against 7.8 in 23 non-meditators. Both studies were small and unblinded.