けでした
negakedeshita

Noun
Desu Copula

The polite past form of 寝掛け

1. Was about to lie down.; Was on the verge of sleep.

Past/Perfective
Polite