My Apple watch fails to measure heart rate when I am wearing it
I was wearing my apple watch during the night, In order to track my sleep.
I woke up to notice it failed to measure my heart rate for a couple of hours, as well as the activity app failing to recognise it as an idle hour.
I didn't take it off , nor was I charging it during the night .
What is the problem with it?
Is it defective
NB: I've only had the Apple watch for 7 months.
Apple Watch Series 5, watchOS 6