Source (required if based on other people's work): https://github.com/qunxyz/gnome-shell-extension-caffeine
Disable screensaver and auto suspend
Since eonpatapon not gonna maintain anymore, and I fixed some bugs and added some features though, so I thought maybe should published it out.
If you liked caffeine before, maybe you would liked this new version
I also made a caffeine widget for plasma 5, check it out
hope you enjoy it