I already searched for a solution about this issue but the one i found is not working for me.
I already edited /etc/systemd/logind.conf
HandlePowerKey=ignore HandleSuspendKey=ignore HandleHibernateKey=ignore HandleLidSwitch=ignore
and i set in the power manager to ASK what to do when i press the button, but it keep shutting itself down. Any clue?