Click or drag to resize

PowerManager Class

Inheritance Hierarchy
Object
  Com.Datalogic.Device.PowerPowerManager

Namespace:  Com.Datalogic.Device.Power
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class PowerManager : Object

The PowerManager type exposes the following members.

Constructors
  NameDescription
Public methodPowerManager
Initializes a new instance of the PowerManager class
Top
Properties
  NameDescription
Public propertyJniPeerMembers
To be added.
Public propertyRebootReason
This function allows to know the reason of last device power-off.
Public propertyWakeupReason
This function allows to know the source of the last wakeup.
Top
Methods
  NameDescription
Public methodActivateWakeup
This function allows setting a wakeup source.
Public methodClearWakeup
This function allows clearing a wakeup source from those previously set.
Public methodGetSuspendTimeout
This function allows to get the device screen off timeout before automatic suspension.
Public methodIsWakeupActive
This function allows to know if a wakeup source is currently active.
Public methodIsWakeupSupported
This function allows to know if a wakeup source is configurable on a target device.
Public methodReboot
Reset the device.
Public methodSetSuspendTimeout
This function allows to set the device timeout before automatic suspension.
Top
Remarks
This class provides access to battery life related methods of the device.

[Android Documentation]

See Also