Resoldering charger cable My tab (Samsun Galaxy Tab 2) has a 30 pin to USB cable (similar to old apple cable). 

I had soldered the wires a while back because the wire broke. Recently I decided to resolder them and now there is something wrong with it, now the moment I plug the charger it turns to 100% in a matter of seconds.I have taken good care to solder the Red Green White Black wires to the right place. Have I gone wrong somewhere?

Edit: It seems that the green and white cable have a short between them when I connect it to my tab , is that normal?

Here is the dmesg output if that helps
Ah, The Tab 2.

I've hit this problem more times than I want to count. It's an easy fix though- Just empty out batterystats.bin and plug it back in. Should be fine!