I'm having the same issue with my new iPhone 4. It's only started in the last five days, but has happened every night but once since.
I leave my iPhone plugged in to charge overnight using a wall charger. It will charge to 91-94% overnight, and then indicate that the battery is fully charged. If I unplug it and then plug it back in, it will quickly charge the rest of the way to 100%.
I tried calibrating the battery by letting it run out completely and then leaving it overnight to charge, but this did not fix it. Last night I did a restore as new and then loaded a backup and let it charge overnight, and I woke up to a "fully charged" battery of 91%.
I'm thinking the next step is taking it back for a replacement.