Chosen Solution

The charging cable is very loose and falls out easily, interrupting the charging process

If its type c then get a new cable because they can sometimes deform a bit, I had the same problem with my laptop.