New
#1
[Guide] How to auto-adjust brightness when running on battery/charging
Hey guys,
Windows 10 removed the option to set one brightness level for running a laptop on AC, and another for running on battery (forcing you to either have one constant battery level, or change it manually - there was no way in the system you could change this).
A kind user over at the Autohotkey forums helped me find an answer.
First, head over to AutoHotkey and install the program (32 bit or 64 bit, depending on your Windows 10 install).
Then, head on over to this thread, check out VSUB's post, and click 'Download' above the script they've posted.
You can change brightness on charge and brightness on battery by changing the values of the script that are bolded below:
{
SendMessage,0x0422,0,50, msctls_trackbar321
IniWrite,Off,% A_ScriptDir"\Power.ini",Status,Battery
}
Else
{
SendMessage,0x0422,0,10, msctls_trackbar321
IniWrite,On,% A_ScriptDir"\Power.ini",Status,Battery
}
I've got my AC/charging brightness set at 90% (the first value, 50), and my on-battery value set to 50% (the second value, 10).
To edit an Autohotkey script (.ahk), right click the script, click 'Open with...', select notepad, edit those values, then save the script as an .ahk again.
As vsub says, make sure that you're plugged in the first time you run the task. You can add it to your start menu Startup folder or schedule it to start when Windows starts as per other tutorials.
I know a lot of us were frustrated by this, so for those googling:
Windows 10 change brightness on battery
Windows 10 how to change brightness on AC
Windows 10 Power Plan Brightness Charging and Battery