That's a good thought, but I doubt that is the problem because of the way I can avoid it by backing out of the app instead of using the home button. If whatever the app is doing to consume cpu time is intended, it would probably behave that way no matter how the app was closed.
Further, gmail didn't always do this. It has only started to exhibit this behavior recently and it has caused a noticeable drain on my battery.