Default [Q] NO Sound After Battery Removal..

Hey Xda.,,,,,,,,
plz help me in sort out the problem.whenevr i take out my gnex battery earpiece,mic,back speaker is stopped working...
i have to wipe cache partition in recovery to gain back the sound again......
it happens every time whenever i remove battery or battery drained fully.........
plz plz plz help me in sorting out the problem.its really urgent and pissing me off......
i hace tried different roms and different kernels but nothing happen.........