Anywhere Between 0 and 80% of my time.
Starting out a project, there is a lot more wrestling with stuff.
You also spend more time wrestling if you are just learning the technology. After a while of using something, it gets quicker.
On certain days, I have meetings and stuff, or I am doing things management requires me to do.
Other times I spend all day as tech support hotline. (Some programmers don't like that type of stuff, but I like helping people. It is a nice break from code).
Other weeks I will spend almost all of my time coding, whether I'm working on my own project, bailing on someone else's deadline, or fixing bugs/documenting.
I also spend a lot of time outside of work thinking about the code I'm going to write. It is easy to underestimate the amount of time you spend thinking about coding harder problems in your free time. Stuff will just come to me at odd times. A lot of the time I will go home and five totally lost, and come back at 8 ready to type up a solution.