How to charge the battery with negative current