Open jazzrz86 opened 9 years ago
https://github.com/mate-desktop/mate-power-manager/commit/954a80e6c2f945c6abf0a244d1a5dcb14c0ac5fb PR is merged, but it is mentioned as possible fix, so i will leave the report a while open. @jazzrz86 Does the commit fixes your issue?
It is actually 9365044 (from pull #174) that tries to fix this issue. Sorry for my mistake in the pull request comment.
I may have found an issue with the brightness/backlight logic when on battery:
I look at the code and notice that it only considers the battery reduce option when the call to gpm_backlight_brightness_evaluate_and_set (gpm-backlight.c:272) has the use_initial = TRUE. However, looking at the idle code at idle_changed_cb (gpm-backlight.c:550) it does not pass TRUE to use_initial, cause the backlight scale to be at 100% at the end of the function- verified from using --verbose to the main exec.
I believe the use_initial flag is redundant as it should ALWAYS consider the backlight reduce on battery option.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.