PowerStatusMsg::GetBatteryStatus

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This method returns the most significant four bits of the internal PowerStatus field in this power-status message. These bits represent the battery-status data.

Syntax

unsigned char GetBatteryStatus();

Parameters

None.

Return Value

Returns the most significant four bits of the internal PowerStatus field. It can be one of the following:

0x00

Indicates that the battery has no power remaining.

0x0F

Indicates that the battery is fully charged.

Requirements

Header DBRLib.h
Library DBRLib.lib
Windows Embedded CE Windows CE 5.0, Windows Embedded NavReady 2009

See Also

Reference

PowerStatusMsg Class
MSN Direct Services Classes