How does band determine sleep?

I have had mine for a week. It seems accurate on my hours of sleep. However it didn’t catch the couple of 2 hour naps I had. It also doesn’t catch getting out of bed after asleep. One would think if you got up and walked to the bathroom room it would be acknowledged. I let my wife wear it one night and she got up several times to take her dog out. Nothing
Thanks
Jim