my mobile is also got wet . due to that its only charge in switch off mode and not in switch on mode. from a week i searched for this problem but not get any solution then i just suddenly perform some setting change and it will work, i thought it will help you also.
1. download an app which support engineering mode like mobileuncle.
2. in engineering mode go to hardware setting.
3. there is a option for UART/USB switch.
4.then switch from usb mode to UART mode.
by performing this steps my mobile get charge in switch on mode also. and its working nice.
i dont know how this happen but try it may be it will help you.
and please do it on your own risk.
and if you want your mobile detected by usb. then dont change to UART mode .
select USB mode and above that option select:
1 engineering mode->hardware Testing->USB->USB IF Test->
and test above 4 elements of IF test perfrom start and stop.
then your usb port will get detected.
please this is also do on your own risk.