Home Support

AVG Support Community

Share tips and solutions on AVG Products

Have a question?

Community topics

AVG Gurus

These community experts are here to help

  • (AB) Alan Binch
  • (BA) Borislav Angelov
  • (VB) Vladimir Bartl
  • (SK) Subhadeep Kanungo
  • (MS) Miloslav Serba
Daniel JohnsenDaniel Johnsen 

MacbookPro goes to sleep while full scan is running, causing scan to stop. How can I prevent the computer from sleeping while the scan is running?

AVG AntiVirus 2015.0 (4743) is installed on a late 2013 Macbook Pro Retina running OS X 10.9.5.  Computer is running on the power adapter in clamshell mode with an external monitor and keyboard.  

If I start a full scan and walk away from the computer, when I come back later the computer is sleeping and the scan has stopped.  Scan resumes on waking, but I'd just as soon the scan ran to completion while I was doing something away from the computer.

I think the Energy Saver settings for Power Adapter are still the defaults (the "Restore Defaults" button is grayed out).  "Turn display off after:" is at the first tick mark below 15 minutes, "Prevent computer from sleeping automatically when display is off" is un-checked, all other options are checked, there are no startup/wake/sleep/shutdown/restart options scheduled.

What can I do to ensure a full scan runs to completion even if I'm not actively using the computer?
 
Best Answer chosen by Petr Jezek (Avast)
VladimirVladimir (Avast) 
Dear Daniel,

We tested the behavior of AVG Mac AV in a manner you asked us about. We found out that what you state is correct and that it is a proper behavior of our software due to the reason that it does not have higher priority processes than any other software, nor  a privileged access to computer's resources. As a result, the scan pauses at the very moment when your hard-drive goes to sleep and this depends on the settings of your system in the Power Saving section. 

Unfortunately, we are not familiar with a procedure that could elevate the process of scan and thus prevent your computer from sleeping. Thefore, the only way to change this behavior is to adjust settings of the system. You may try to uncheck the option Put the harddisk(s) to sleep when possible and see what will be the impact. Otherwise, i am afraid you would need to adjust time-out values set for go to sleep options.

We hope this answered your question.

Regards,
Vladimir

All Answers

Alan BinchAlan Binch
Daniel, AVG Mac Support.. Have a look @ this new form link (http://support.avg.com/support_contact_form) to get email support. Otherwise, When available, A member of the official AVG Community Support in Brno, Czech Rep.. (Working Hours [Mon-Fri] 9:00am - 5:00pm CET) will see your topic & respond but please bear in mind that this assistance may not now be available until @ least the 2nd January 2015. See the 'Happy Holidays' banner @ the top of this webpage.
AVG Guru
ZbynekZbynek (Avast) 
Hi Daniel,
What is current status, were you able to solve it or do you still need our assistance?
Thanks
Daniel JohnsenDaniel Johnsen
No, I still have this issue.  

If start a full scan but leave the computer otherwise idle (not using it for email, editing documents, etc), the scan activity by itself is not enough to keep the computer from sleeping which stops the scan.  

It seems like the best time to scan would be when nothing else is running (no impact on other processes, no open files to contend with, etc).  What Mac or AVG preferences can I change to ensure the full scan runs to completion, even if I'm not actively using the computer?

Thanks,
Dan
VladimirVladimir (Avast) 
Dear Daniel,

We tested the behavior of AVG Mac AV in a manner you asked us about. We found out that what you state is correct and that it is a proper behavior of our software due to the reason that it does not have higher priority processes than any other software, nor  a privileged access to computer's resources. As a result, the scan pauses at the very moment when your hard-drive goes to sleep and this depends on the settings of your system in the Power Saving section. 

Unfortunately, we are not familiar with a procedure that could elevate the process of scan and thus prevent your computer from sleeping. Thefore, the only way to change this behavior is to adjust settings of the system. You may try to uncheck the option Put the harddisk(s) to sleep when possible and see what will be the impact. Otherwise, i am afraid you would need to adjust time-out values set for go to sleep options.

We hope this answered your question.

Regards,
Vladimir
This was selected as the best answer
Daniel JohnsenDaniel Johnsen
Thank you, Vladimir.

Since the MacBook Pro Retina has an SSD instead of a conventional hard drive, un-checking the Put the harddisk(s) to sleep when possible option seems like a good solution.  I'll give that a try!

Perhaps I can find a way to script a change to the time-out values and run that before and after the scan...

Best regards,
Daniel
Daniel JohnsenDaniel Johnsen
Unfortunately, un-checking the Put the harddisk(s) to sleep when possible option didn't make any difference, I'll try un-checking Enable Power Nap to see if that changes the behavior.
Ask a question
Struggling with non-AVG technology? We can fix that, too!