Quantcast
Channel: PowerDevil activity
Viewing all articles
Browse latest Browse all 1733

Jakob Petsovits opened merge request !328: [dimdisplay] Respect profile confi...

$
0
0

Manually conflict-resolved cherry-pick of !314. The only difference is that 6.0 still uses BackendInterface (implemented only by PowerDevilUPowerBackend) so instead of core()->screenBrightnessController()-> in master (post-6.0) we now use backend()-> in the 6.0 branch.

CC @anthonyfieroni who authored the original patch.


When profile is loaded after dim action is activated:

  1. Restore previous brightness values if new profile doesn't require dimming
  2. Override previous brightness values if new profile explicitly set

Signed-off-by: Anthony Fieroni bvbfan@abv.bg

(cherry-picked from 3b9a43a9)


Viewing all articles
Browse latest Browse all 1733

Trending Articles