きがけではありませんでした
okigakedewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 起きがけ

1. Was not about to get up.; Was not on the point of waking up.

Past/Perfective
Negative
Polite
Formal Register