This isn't quite a final D-Bus API yet, but it goes a long waytowards implementing one in a later commit. See #19 for more on this topic.
Main changes:
id()
andlabel()
methods added toDisplayBrightness
interface.ScreenBrightnessLogic
is now tracked per display.- Display changes are emitted from
onDetectorDisplaysChanged()
. ScreenBrightnessController
methods now expect adisplayId
.- Legacy API without
displayId
operates on displays of the firstnon-empty detector, and calls non-legacy API withdisplayId
(s).