Ring Offline and not Charging

I have had my Ring Doorbell for almost 2 years with no issues. However, it won’t connect to my wifi and charge remains at 25%, even though I have had it on charge overnight.