Would you like to tell us how we are doing?

You bet No thanks
qnx.system.DeviceBatteryState

DeviceBatteryState

Constants


Packageqnx.system
Classpublic class DeviceBatteryState
InheritanceDeviceBatteryState Inheritance Object

The DeviceBatteryState class provides battery power state information for the device.

Class information:
BlackBerry 10 Version:   10.0.0

See also

batteryState
Device



Public Constants

 ConstantDefined By
  CHARGING : int = 2
[static] A constant indicating that the battery power state is plugged into power and is less then 100% charged.
DeviceBatteryState
  FULL : int = 1
[static] A constant indicating that the battery power state is plugged into power and is at 100% charge.
DeviceBatteryState
  UNKNOWN : int = 0
[static] A constant indicating that the battery power state is unknown.
DeviceBatteryState
  UNPLUGGED : int = 3
[static] A constant indicating that the battery power state is unplugged from power and is discharging.
DeviceBatteryState

Constant Detail

CHARGING


public static const CHARGING:int = 2

A constant indicating that the battery power state is plugged into power and is less then 100% charged.

FULL


public static const FULL:int = 1

A constant indicating that the battery power state is plugged into power and is at 100% charge.

UNKNOWN


public static const UNKNOWN:int = 0

A constant indicating that the battery power state is unknown.

UNPLUGGED


public static const UNPLUGGED:int = 3

A constant indicating that the battery power state is unplugged from power and is discharging.