Immediate wake up after going into suspension

I have noticed that when the pc is plugged in if it is sent to sleep after a few seconds it automatically reactivates and then continues the cycle indefinitely this I have only encountered when it is plugged in when it is not I have not encountered such a problem.

ps after some test’s the problem occurred even when the laptop was not connected to the power

I have logs of journalctl --since today | grep -i wake and journalctl --since today | grep -i suspend