Inhibit suspending during ongoing installations
Due to the European Union power saving regulations [0], more and more users have been reporting that their VM installs are getting corrupted due to suspension happening during it.
Therefore we should rely on Gtk.Applications[1] inhibit API to prevent the system from suspending while Boxes is performing an install.
It might be worth inhibiting suspend also while:
- transferring files from host and guest, and
- while downloading an ISO.
[0] gnome-settings-daemon@2fdb48fa
[1] https://developer.gnome.org/gtk3/stable/GtkApplication.html#gtk-application-inhibit
Edited by Felipe Borges