<!DOCTYPE node PUBLIC
'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
<!--
  SPDX-License-Identifier: GPL-3.0-or-later
-->
<node>

  <!--
      org.gnome.Shell.Brightness:
      @short_description: Brightness interface

      The interface used to give the shell brightness related information.
  -->
  <interface name="org.gnome.Shell.Brightness">

    <!--
        SetDimming:
        @enable: whether to enabled dimming

        Enable or disable screen dimming to save power.
    -->
    <method name="SetDimming">
      <arg type="b" direction="in" name="enable"/>
    </method>

    <!--
        SetAutoBrightnessTarget:
        @luminance: the target brightness

        This lets the auto brightness system tell the shell what the ideal
        relative brightness [0,1] is.
    -->
    <method name="SetAutoBrightnessTarget">
      <arg type="d" direction="in" name="target"/>
    </method>

    <!--
        HasBrightnessControl:
        If any display has brightness control.
    -->
    <property name="HasBrightnessControl" type="b" access="read"/>

  </interface>
</node>
