Interface Connection.Interface.PowerSave.DRAFT

Interface Index (Compact) | Summary | Description | Methods | Signals | Properties

Methods

TogglePowerSaving (b: Activate) nothing

Signals

PowerSavingChanged (b: Active)

Properties

PowerSavingActive b Read only
WARNING: This interface is experimental and is likely to cause havoc to your API/ABI if bindings are generated. Do not include this interface in libraries that care about compatibility.

Description

An interface for telling the connection when to enter and leave power saving mode.

Methods

(Permalink)

TogglePowerSaving (b: Activate) → nothing

Parameters

  • Activate — b
  • True when activating power saving, false when deactivating.

Toggle power saving mode on or off.

Rationale:

Depending on the device's activity level, the connection can have it's powersaving mode turned on or off.


Possible Errors

  • Not Available
  • The current connection has no power saving features.
  • Not Implemented
  • Raised when the requested method, channel, etc is not available on this connection.

Signals

(Permalink)

PowerSavingChanged (b: Active)

Parameters

  • Active — b
  • The new state of the power saving feature.
The PowerSavingActive property changed.

Properties

Accessed using the org.freedesktop.DBus.Properties interface.
(Permalink)

PowerSavingActive — b

Read only

The current state of power saving. Change notifications is via the PowerSavingChanged signal.