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

Nicolas Fella accepted merge request !512: KeyboardBrightnessController: Drop isValid() check for upower interface at Plasma / PowerDevil

$
0
0

isValid() seems to be racy when upower is just starting up (because weDBus-activated it earlier in BatteryController).

This causes us to think keyboard brightness control is not available evenwhen it actually is.

To address this always make a call to the interface. The call willblock until the interface is ready to either give us the correct resultor we know it's not available because we get a relevant DBus error.

As a bonus print a warning message if we get any unexpected errors

BUG: 486067


Viewing all articles
Browse latest Browse all 1991

Trending Articles