# CBatteryInfo Class Reference

Inherits CISVAPIAsync.

List of all members.

## Public Member Functions
| ~CBatteryInfo ()
void | DoStartRequestL ()
void | DoRequestNotificationL ()
## Static Public Member Functions
static CBatteryInfo * | NewL (MExecAsync *aController)
## Public Attributes
CTelephony::TBatteryInfoV1 | iBatteryInfoV1

## Detailed Description

Retrieves the current state of the battery charge level can be notified on change of battery status.

Definition at line 33 of file CBatteryInfo.h.

## Constructor & Destructor Documentation

CBatteryInfo::~CBatteryInfo | ( |  | ) |

Destructor. Cancels outstanding requests.

Definition at line 39 of file CBatteryInfo.cpp.

## Member Function Documentation

CBatteryInfo * CBatteryInfo::NewL | ( | MExecAsync * | aController | ) | `[static]`

Factory constructor.

Parameters:

  | aController | Pointer to MExecAsync object passed to constructor of CISVAPIBase

Returns:
  Instance of CBatteryInfo class

Definition at line 26 of file CBatteryInfo.cpp.

void CBatteryInfo::DoStartRequestL | ( |  | ) | `[virtual]`

Gets battery information and stores it in the iBatteryInfoV1Pckg.

Reimplemented from CISVAPIBase.

Definition at line 47 of file CBatteryInfo.cpp.

void CBatteryInfo::DoRequestNotificationL | ( |  | ) | `[virtual]`

Requests to receive notifications of change in the battery information.

Reimplemented from CISVAPIBase.

Definition at line 140 of file CBatteryInfo.cpp.

## Member Data Documentation

CTelephony::TBatteryInfoV1 CBatteryInfo::iBatteryInfoV1

Stores retrieved phone battery information.

Definition at line 56 of file CBatteryInfo.h.