Ring doorbell 2

My ring doorbell 2 runs out of battery very fast, i got it hardwired but still runs out of battery, I have a 25ohm resistor on the circuit. Its wired direcktly from the ring tranformator, (8-24v) with the resistor on the circuit. I always have 3%battery,never go up. Why dosent it charge!?