-
-
Notifications
You must be signed in to change notification settings - Fork 655
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
Revert "Allow display to turn off for power saving during say all" #11524
Conversation
Given the fact that @LeonarddeR 's use case is not a very common one would it be possible to have this configurable? For laptop users it is really inconvenient to have screen on during Say all. Screen curtain is not a solution for this because even though screen stays black brightness is set at the level specified in the Windows settings and therefore more battery power is wasted without a good reason. |
Do you have any evidence that this has major impact on battery life? Note that in many applications, using say all changes the cursor position which triggers the idle prevention behavior automatically. I'm pretty sure notepad (edit text controls) and browse mode are a few of the exceptions to this rule. |
@LeonarddeR wrote:
I haven't measured it but it is logical to assume that display which is completely turned off uses less power than one turned on.
Since we don't really know what these flags do why not try to investigate other approaches?
I don't think say all with review cursor is commonly used. |
The problem with that is that it really changes a setting in the user profile. |
Please note the following remark from the documentation:
|
Good point. However, I think this still updates the parameter for the lifetime of the session, which is pretty different from what we're doing now (resetting a counter) |
I had a quick chat with a colleague about this issue. It seems at our office, there is a link with the display turn off power setting in power and sleep settings that automatically locks the system when the display power goes off. That clarifies why ES_DISPLAY_REQUIRED is necessary in my particular setup. |
Issue
Reverts #11118
Restores #10643
Description of the issue
In #10643, I implemented support for the system not going to lock or sleep while in say all. #11118 changed this behavior, as some people found it problematic that the screen stays on during say all. However, after testing, it turns out that #11118 regressed in such a way that at least on my system with a group policy based lock timer, the system locks again during say all.
Testing performed
Tried reading a long piece of text with say all in notepad. Without this reversion, the system locked whereas with it, it keeps reading.