Sugar Architecture/API/sugar.shell.hardwaremanager

From OLPC
Jump to navigation Jump to search

Interacts with DBUS, display mode, display brightness, and keyboard lights.

Module Name

sugar.shell.hardwaremanager

Module Location

/usr/share/suger/shell

Classes

HardwareManager

  • set_display_mode(self, mode)
  • set_display_brightness(self, level)
  • toggle_keyboard_brightness(self)

Functions and methods

  • get_hardware_manager()
  • get_audio_manager()
  • get_network_manager()

Exceptions

none