"The pain is constant and increases when you walk, and tends to be worse after periods of inactivity."
Is "periods of inactivity" the same idea as "taking rest for a period of time"?
Not necessarily- they might not be resting but still could not be moving the affected part.