Comment 21 for bug 1739805

Revision history for this message
In , 2460acc (2460acc) wrote :

The latest versions (up to 1.6) still have the original code with the brain-dead step increment.

https://github.com/xfce-mirror/xfce4-power-manager/releases

What exactly is the point of this bug tracker?

Logarithmic increments can be implemented with very little modification in common/xfpm-brightness.c. Look for "set_level =" and use the following for decrement and increment, respectively.

    set_level = MAX (hw_level/2, brightness->priv->min_level);

    set_level = MIN (hw_level*2 + (hw_level==0), brightness->priv->max_level );

I hope someone finds this useful... if anyone is even out there!