What exactly are you doing when you get to starbucks? Are you trying to follow a tutorial? Read a programming book? Watching a video on programming?
If so, try doing the same thing you're trying to do but with any other topic, like reading a fantasy book, or watching a documentary on the laptop. If the latter is more interesting then the former, then really you're interests aren't as strong as you'd like yourself to believe.