I'm a developer. I don't mind taking mental breaks during the day and still counting it as work since I solve work problems while driving, showering, or even sleeping all the time. I'm lucky enough to work for a supervisor that doesn't require time logs. I often wonder if I could get away with "I'm leaving for the day an hour early since I was thinking about the problem I'm working on while at home".