I tried to update the grub file /etc/default/grub
for the value GRUB_CMDLINE_LINUX_DEFAULT and added acpi=off apm=off so it looked like this
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off apm=off"
But this broke the boot, so I reverted back to the regular grub file.
I got this fix from stackoverflow but it did not work for ubuntu 18.10
I have tried to install coffee, but that did not support the system, does any one know any other way to accomplish this.
I want to force the system to not sleep since it's set up for monitoring.