Soundcore Q20 keeps switching itself off

My unit keeps turning itself off after some undetermined time of playback (might be 20 mins, might be longer). I got a replacement and the second unit does the same thing.

Anyone else had this issue?

follow up, seems like a very common issue, despite what anker support has told me: How do I get my headphones to stop disconnecting from my android phone? Soundcore Life Q20