Support Wierd and Odd Battery Problems

view story

http://androidforums.com – So....recently, I found out that my phone(samsung galaxy W) shuts down suddenly even when it shows that it has battery life left. The shut down is completely random. Sometimes it shuts down at 20% and sometimes 6X%. Also, when I charge my phone, it shows the phone is completely charged but when I check the status, it shows that the battery level is around 85%. I also found a weird thing that when I unplug my charger, the battery level goes up. I check some other forums and people stated that it is some coding thing about android 2.3.6. Is there any way to fix this problem? Thanks (General)