Shulchan Aruch Orach Chaim 308:4:
כלי שמלאכתו להיתר מותר לטלטלו אפי' אינו אלא לצורך הכלי שלא ישבר או יגנב אבל שלא לצורך כלל אסור לטלטלו: וכתבי הקדש ואוכלים מותר לטלטלם אפי' שלא לצורך כלל:
A utensil whose purpose is for a permitted use [on shabbat] is permitted to be moved, even if only for the sake of the utensil itself, so that it not break or be stolen, but for no purpose at all, it is forbidden to move it. Holy writings and food may be moved, even for no purpose at all.
I'm having a little trouble thinking of a scenario where this rule applies. How does one move something for no purpose at all? Even if someone is playing or fidgeting with an object, would that not be considered moving it for the purpose of keeping his hands busy?
Please present (sourced) definitions / parameters of what is considered 'moving something for no purpose at all'.