while running bash-script system enter suspend mode
Affected version
OS: Arch Linux Gnome: 3.36.1 Window-Manager: Wayland
Bug summary
Enter powersave mode while running bash script.
Steps to reproduce
- open bash shell
- run script
- system enter powersave mode automatically, as indicated in Gnome/Energy-Settings (e.g. 10 minutes)
- script is suspended till resume power
same problem while running vncserver.
What happened
go into sleep mode
What did you expect to happen
While running a script (cpu usage high), the system should not go to sleep.