Problems charging my notebook

Hello, I hope everything is well.
I was setting up my EndeavourOS + Hyprland and I needed to limit my laptop’s battery to 80% to extend its lifespan. I ended up installing TLP but didn’t notice that I had Power Profiles Daemon installed, so I got a warning in the terminal and removed Power Profiles Daemon. After configuring TLP, I connected the charger to my laptop and my system simply went into suspension mode and everything got bugged.
I removed TLP and installed Power Profiles Daemon again, but it didn’t work. I even checked the files and went through the error logs but couldn’t fix it.
Can someone help me?