If you are worried about it, then just leave it attached until it is fully charged
P
When I connect my iPhone 4 to my computer to sync, it starts charging and I was wondering if it affects the battery life since it doesn't charge all the way before I unplug it.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic