Solocam S40 not charging

I bought the solocam S40 in 2022, so it’s out if warranty. The camera keeps switching itself off due to low battery. I’ve manually charged it twice, but again, after a day, it’s switched itself off. Any ideas?