Standard advice clauses: This is going to apply more to you the more similar you are to me: A young mentally and physically healthy introvert knowledge worker who works on his laptop.
When I am at the library, the modal person seems to be sitting in their chair for 3+ hours without getting up and walking or stretching for a little. I think that's not optimal so this post has some tips on how to do better than that.