Error executing systemctl suspend inside the snap

My snap executes the command systemctl suspend.

It works outside of the snap, but inside it does not work.

My logs show

exitcode: 0

stddout:

stderr: Running in chroot, ignoring request: suspend

The snap was installed using --devmode --dangerous.

Not sure what is this chroot, am I just missing something simple from my snapcraft file?.

Link to my snap

Same result for the command shutdown now and poweroff

Tried to add to stage-packages: -systemctl and now I am getting different error

exitcode: 1

stddout:

stderr: ERROR:systemctl:Unknown operation suspend.