Yes, even in that half-awake state, I think the litmus test is whether or not you would have consented had you been in your right mind. When you're half-awake, it's often the case that there isn't sufficient reflection or consent of the will. That's why it's important to wake up at a regular time and get right out of bed, instead of laying there for any length of time.