http://www.apple.com/batteries/iphone.html
here is a general description of the batteries. it is expected that sometimes the product will get warm, especially when charging. Another thing to look at is multi-tasking which could be the result of some battery drainage, bluetooth running in the backround, a high brightness setting, wi-fi ALWAYS enabled even when outside of a wi-fi zone especially because it will be constantly searching for networks. For information about multi-tasking, try this:
http://support.apple.com/kb/HT4211
Worst comes to worst, try transfering all of your information to the computer, and try a restore as new, than transfer your information back to the iphone in the event it could be a software issue. here are some helpful articles to help you with this.
By following these articles in order, you will be able to save content to your computer from the iOS device.
Section 1:
-About authorizing and de-authorizing:
http://support.apple.com/kb/PH1730
Prevent unprompted syncing of your iPod, iPhone, or iPad:
Mac- http://support.apple.com/kb/PH1764
Windows- http://support.apple.com/kb/PH1677
Section 2:
-iOS how to transfer or sync content to your computer:
http://support.apple.com/kb/HT1296?viewlocale=en_US
Transfer purchases from your iPod, iphone, or iPad to an authorized computer:
Mac- http://support.apple.com/kb/PH2554
Windows- http://support.apple.com/kb/PH2566?viewlocale=en_US
iOS: Importing personal photos and videos from iOS devices to your computer:
http://support.apple.com/kb/HT4083
Backing up, updating and restoring:
http://support.apple.com/kb/HT1414?viewlocale=en_US
Downloading past purchases from the App Store, iBookstore, and iTunes store
http://support.apple.com/kb/HT2519