Don't have Telegram yet? Try it now!
https://aikar.co/2011/03/03/ubuntu-prevent-sleep-samba/
Ubuntu - Prevent sleep while sharing files over samba