Chosen Solution
i have recently replaced my lcd screen thinking that was the problem it went black as the vibrate was still working. by the time my lcd arrieved the phone went dead. i replaced the lcd and the iphone 3gs still didnt turn on.. i tried holding the power and home button whislt plugged into wall and still didnt turn on. then i dicided to replace battery and it turned on but very dim went to plug it into charge and with in a few seconds it swtiched off, and now wont turn back on again.. any ideas guys??? i cant think of anything else..?
I would check the dock connector for any bend/broken corroded pins. Also clean it with a toothpick and some compressed air and see if it charges. Have you tried a different cable yet? Have you tried a multimeter to see if you get power to the battery connections when your phone is plugged in?