Share your experience!
The camera of my xperia m has a poor focus and poor picture quality.... A 2 megapixel can click better pic as compared to my 5 megapixel's camera.....
Sorry to hear about your camera.
The quality of a camera also depends on other thing like the lens, type of sensor and sensor size so it depends on what you're comparing with.
First try the suggestions found in this thread and see if it helps: http://talk.sonymobile.com/t5/FAQ/Capture-better-photos-in-low-light-conditions/m-p/395397.
If you still suspect a problem with the camera i recommend that you contact a service location or local Sony Xperia support (http://www.sonymobile.com/global-en/support/contact-us/) for further investigation of your phone.