Chosen Solution
My phone dropped in the water about 1 week ago. Soon I opened it and dried with cold hairdryer the mater board and all the contacts. After 3 4 hours a tried to switch on and it worked fine. After about 3 days during the night the phone switched off. I did not know why. When I tried to charge it the phone showed the dock was connected but did not charge the battery. So I bought and replaced a new dock charge inside the phone but remained the same problem. Moreover at the time no more signals that the charger is connected. What can I do now? Thank you for your reply!!! I apologise for my bad English.
Depending on how long it was in the water and how deep the water was, water could have gone in through the charging port. Either the battery or the wiring that goes to it is probably damaged.