I'm a software developer, but I'm not the "manager of my time" because I have a boss who gives me tasks and deadlines. Sometimes I happen to be inactive for hours, sometimes even days. During these periods I always look at the code and study or stuff like that, so I don't need to know what to do to let the time pass by.
What is the correct amount of time after being inactive to notify it to my boss?
To clarify: if I finish my work before deadlines I always give a notice to my boss, but for various reasons(my boss himself is buried with legal papers, I must wait for other developers to finish their work and so on...), sometimes it just happens to wait.