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?
Asked
Active
Viewed 2,567 times
4
1 Answers
0
Download dconf editor and edit /org/gnome/settings-daemon/plugins/power/
. Change sleep-inactive-ac-timeout
, sleep-inactive-ac-type
, sleep-inactive-battery-timeout
, sleep-inactive-battery-type
as you want.
You can alternatively try these. https://www.ostechnix.com/auto-shutdown-reboot-suspend-hibernate-linux-system-specific-time/

VidathD
- 2,704
inxi -SMI -! 31 && journalctl -b0 -k -p3 && grep GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub
. – Pablo Bianchi Jan 28 '19 at 00:49