BatteryChargingState

Since: BlackBerry 10.0.0

#include <bb/device/BatteryChargingState>

To link against this class, add the following line to your .pro file: LIBS += -lbbdevice

The set of possible charging states for the battery.


Overview

Public Types Index

enum Type

Unknown = 0, NotCharging = 1, Charging = 2, Discharging = 3, Full = 4

Public Types

Type

The set of possible charging states for the battery.

Since:

BlackBerry 10.0.0

Unknown = 0

Battery state could not be determined.

Since:

BlackBerry 10.0.0

NotCharging = 1

Battery is plugged in, but is not receiving enough power to charge.

Since:

BlackBerry 10.0.0

Charging = 2

Battery is charging.

Since:

BlackBerry 10.0.0

Discharging = 3

Battery is not plugged in.

Since:

BlackBerry 10.0.0

Full = 4

Battery is plugged in and fully charged.

Since:

BlackBerry 10.0.0

Last modified: 2014-03-13

comments powered by Disqus