Whiring , battary

after 2 months working perfectly connect to the old doorbell wiring stop working because it said it’s no battery…!!! whiring
connection check
already everything is perfect so i’m just losing my mind. please help lol