4

Ubuntu never shuts down or hibernates even after a long time in suspend mode. I always have to turn on and off my laptop. Is there a way to automatically turn it off after a certain amount of time like under Windows?

NotTheDr01ds
  • 17,888
Erfan Star
  • 41
  • 1
  • 2
  • It's not clear for me what it the problem and what you are asking. Please take your time to explain precisely the steps you follow, what are the current results and what you expect. Beside that, please provide more information, for eg editing your question and adding the output of this commands: inxi -SMI -! 31 && journalctl -b0 -k -p3 && grep GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub. – Pablo Bianchi Jan 28 '19 at 00:49
  • okey look yesterday i turn on my laptop and did my work after that i suspand my laptop(go to sleep not turn off) and i forgot to turn off it at night i saw my laptop was on suspand mode and wasent go sleep its bad, windows isnt looks like ubuntu its automatic going to hibernate, i want way to do this in ubuntu can you help me – Erfan Star Jan 28 '19 at 09:16
  • Please don't extend the question in the comments area. Edit your question and add it there. Also please add the output of the mentioned command. 2. If I understand you correctly the question is: Is there a way to automatically move from sleep (ACPI S3) to hibernate (S4), or directly power off (G3) at certain point? ACPI modes.
  • – Pablo Bianchi Jan 28 '19 at 15:25
  • I think your question has a duplicate that might resolve your issue (and mine). – B. du Garay May 23 '20 at 16:48