if it shuts down power when you close it/shut it off, you might want to consider one of these
First one I found - There may be better/cheaper ones out there -
http://www.dealextreme.com/details.dx/sku.41025
I have a similar device for charging my ipod. I couldn't live without it.