I flashed Parallax kernel, then it started doing this weird shit. My device charges for a while, like 30-40 seconds, then takes some time off, completely disconnecting the charger. Then starts charging again after like 1 minute or so. I have gone completely back to stock but even that didn't help. I guess ny PMC is fucked.