I need to charge a battery Vbb= 9V Ibattery=400ma (average). How I can know the value of the resistor?