Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
.gif)
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 |