Battery Low

I have had my doorbell hooked up to the existing doorbell wires since I got it a handful of years ago. But I just now realized after getting a notification that the battery is at 28%. It should be charging just fine like normal, but it i’s not.

Could the internal battery be turning bad?