-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{Request} Delay before setting brightness #8
Comments
If there is another program setting the brightness there will be a race condition. |
Yeah I know. I will manually determine after how much time the other program sets the brightness and then set a delay just greater than that time, so that this program can set the desired brightness. |
What I'm saying though is there is still a race condition. I suggest if you don't like what the other program is doing with your brightness then contact them and ask for a way to disable that feature. |
I don't understand. The program itself doesn't have any control for brightness, I just found that when I close it, then your program runs properly. |
There's just no guarantee if another program is also changing the brightness. You're assuming it will already be done. The program may still set the brightness after (or again, after). |
I assure you that it won't. It only changes changes brightness after approx 1 seconds of a power source event is detected. If you can modify this program to add a custom delay through command line options, I can overcome that. |
NVM, I have done it using AutoIt |
- New option /syncdelay <secs> Closes HubKing#8
Ok. I went ahead and implemented the option in branch opt_syncdelay (diff) in my repo. In my opinion delaying the sync is a bad idea and should not be added to the official version. |
Is it possible to add an option to set the saved brightness after a set Delay such that critical programs (MSI dragon center in my case) which don't let this program work properly can be used in conjuction with it.
I use Dragon Center to set a manual fan control hence it is necessary.
Something like::
Load current brightness level(also monitor brightness change) -> Wait for power source change event -> Source Changed -> Delay -> Set the previously loaded brightness value for current source
Hope you can impement this.
The text was updated successfully, but these errors were encountered: