"Sleep" mode

How do remove a program from the sleep mode? I want iTunes to open when I connect my phone, but I need to click through a number of options, and then Avast keeps putting it to sleep.

Avast Cleanup forum? https://forum.avast.com/index.php?board=63.0

Possible Asyn has your answer here: https://forum.avast.com/index.php?topic=223017.msg1482391#msg1482391