Sleeping
From Box2D Wiki
Box2d allows most bodies to sleep if they are motionless for a set period of time (currently half a second, editable in b2Settings.h). This reduces the amount of time spent simulating bodies that aren't doing anything interesting, and allows much larger scenes to be built at once since the inactive parts add very little simulation overhead.
Sleeping bodies should fall asleep and wake up automatically whenever they are supposed to. For instance, bodies should wake when hit by other bodies or when the user applies a force. However, if you have trouble with the sleeping functionality you can always trigger sleeping/waking up manually by calling a body's PutToSleep() or WakeUp() methods.
Sleeping may be disabled on a per-body basis by calling AllowSleeping(false) on that body.
