Can sleep affect your BBT?

Nickie

I had shoulder surgery June 20th and since then sleeping has been so hard, toss and turn and I’m awake a lot so my body isn’t really at rest... could that affect my temps?