Our sleep algorithm detects the baby's current sleep state based on movements and heart rate. You can use the sock to track daytime naps and nighttime sleep. External activities will affect sleep detection, such as sleeping in a moving stroller, in a car, in a moving bassinet, or being carried in your arms. The sleep detection algorithm best suits a baby sleeping in a bed/crib.