Pdp ps3 afterflow wireless controller issues

Hi, i bought a couple of ps3 afterglow controllers at walmart. But they keep disconnecting every once in a while. I read that these are supported by lakka. I’m using an hp chromebox i7 with 6gb ram. Could it be a hw issue or sw? It is very annoying, happens a lot and won’t let me play. Any help is appreciated!