I am using puppylinux (xenialpup 64 bit). In order to put it to sleep mode, I run "acpitool -s" in cli. It works fine.
But if I put it in a file, save it as .sh file, then mark it as executable, and then double-click to execute it. It makes the system sleep for just a moment and turns on immediately. I didn't understand what is missing / going wrong.