Sorry but I can't find the procedure online but it was in all the Sony manuals that I've seen. Try this first.

Now there are issues if owners leave a nearly dead battery in the laptop. The old battery can tax the charging circuits and fry them. This can be expensive. Also is it this a 3rd party chinese battery?