There are third party apps that do this - Spb Pocket Plus and Battery Pack off the top of my head. There may be freeware that does this, too, but I cannot think of any. You might want to search around to see if you can find something.
This site has a pretty good list of freeware and shareware.