Seeing that this page has >500 views, it's a commonly encountered problem. For those of you who still want to use avast on mobile computers, you can do as follows:
Create a text file, and enter the following:
net stop Winmgmt /y
net start Winmgmt
Change the extension from .txt to .bat
If you don't know how to change extensions you probably should not proceed with the tutorial Running batch file with admin privileges will cause Windows Management Instrumentation service to restart.
It will also shut down all services that depend on WMI, and some do not restart automatically.
Check Local Services > Windows Management Instrumentation > Properties > Dependencies Tab
Those services must be restarted
You need to find service in the list, it's name is shown here:
My bat file looks at follows:
net stop Winmgmt /y
net start Winmgmt
net start TPCHSrv
net start "TOSHIBA eco Utility Service"
net start iphlpsvc
net start wscsvc
Note that you need quotes if the service name has spaces.
Also note that if you install some software that uses WMI services you will need to add it to the list later.
Now we need to make the script run on startup. This is done using the task Scheduler.
Choose "Create task" on the right side of the window,
Name it as something identifiable
Select "Run whether user is logged on or not"
You
must tick "Run with the highest privileges"
In Triggers tab Choose "at user logon" and choose to delay task 1 minute.
In Actions tab choose the batch file we just created
In Conditions untick "Run only on AC power"
You are done! Now WMI will be restarted after your computer boots and will stop killing your battery life.