I like the attack on the fundamental ideology at play (not just the frame built on top of it) in the statement that "wasting time is good". I think it might be far more helpful.
I would say that you need to grow as a person at every moment. This includes sleeping, walking in the park without thinking about work, learning themes unrelated to your professional occupation (humanities are great for software engineers), spending time with good people, and of course meditating.
There are almost universal time-wasters though, especially if you spent enough time with them in the past – online and other endless games, most of the movies and TV series, arguing on the Internet, etc.
When you have a subtle feeling that you have experienced it before – it's time to quit.
The trouble with that in turn is that it's a person's habit or emotional orientation, and likely doesn't change just by being given evidence that you're more productive if you give yourself a break sometimes. Habits don't respond to evidence because they're pattern continuations, not logical choices.