freesmartphone.org Framework DBus Interface Specification

org.freesmartphone.Device.PowerControl

Description

This interface provides access to a power-controllable device.

Namespace

org.freesmartphone.Device.PowerControl

Methods

Signals

Errors

None

Methods

GetPower ( ) → b

Description: Get the power status.

Returns

b: on

True, if the device is powered on. False, otherwise.

SetPower ( b )

Description: Power the device on, or turn the device off.

Parameters

b: on

True, if the device should be turned on. False, otherwise.

Signals

Power ( b )

Description: Sent, when the device has changed power status.

Parameters

b: on

True, if the device is now powered on. False, otherwise.


| Specified 2008-2009 by the Freesmartphone.org team. | Join us and discuss further drafts smartphones-standards (at) linuxtogo (dot) org