When using battery i always do two things
- Turn off all fancy effects
- Set the power options to power save
To save myself from some clicking I use those commands
net stop “Application Experience”
net stop “Desktop Window Manager Session Manager”
net stop “Themes” /Y
powercfg –s a1841308–3541–4fab–bc81–f71556f20b4a
The last command sets the power settings to Power Saver
Now lets restore the settings, once we’re not on batteries anymore.
net start “Application Experience”
net start “Desktop Window Manager Session Manager”
net start “Themes”
powercfg –s 8c5e7fda–e8bf–4a96–9a85–a6e23a8c635c
the last command sets the power to high performance.
If you get errors in powercfg, make sure that the “-“ symbol is the right one, the blog has a tendency to change the minus sign to nicer looking sign.
To find out what GUID to use, run this command in a dos-shell
It will display something like this:
|Power Scheme GUID: 1792d7dc-16a4-417a-85ad-10fb09d8091a (Nightwork)
Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e (Balanced) *
Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c (High performance)
Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a (Power saver)
Nightwork is my own creation, it’s a mix of high performance and power saver. It uses full CPU and disables the screen and hard drives if not used. That way I can let my machine work during the night 🙂