There is a difference between working on company projects in your free time and working on an opensource or personal project, or occasionally reading a programming book.
Whilst the second is likely to provide benefits to your employer, your primary motivator is for personal gain.