Does a wired Ring Doorbell 2 needs a battery to work?

If my ring is hardwired to the doorbell, can the battery still be removed to charge it?
Thanks