Question: what does it mean when you shake your leg to fall asleep?
Answer: Periodic limb movement disorder. Periodic limb movement disorder (PLMD) is a condition characterized by twitching, flexing, and jerking movements of the legs and arms during sleep. It's sometimes referred to as periodic leg movement during sleep (PLMS).