Vacuum will not return to charge

My vacuum works fine by itself. I’ve had it for several months but lately when the battery gets low it will not return itself to a charging cradle to charge. It’ll just run until it dies and then stops and I have to carry it back to the charging cradle. Does anyone have an answer to this? Thanks