Clem is, of course, correct. Perhaps I misinterpreted your question (or just answered a different question!) about charging a capacitor with a battery. The energy imparted to the charge by the battery is QV, but the energy stored in the capacitor only half that. Sorry about that!