Share your experience!
Is the dock connected to a mains socket or a Pc's USB port?
If the dock is fine and the mains socket is fine then I'm sorry to say but you would need to either return your device to the place of purchase or contact Xperia care and ask that your device be inspected http://www.sonymobile.com/global-en/support/contact-us/