Share via


BatteryPDDGetLevels (Windows Embedded CE 6.0)

1/6/2010

This function indicates how many battery levels are reported in the BatteryFlag and BackupBatteryFlag members of the SYSTEM_POWER_STATUS_EX2 structure filled in by BatteryPDDGetStatus.

Syntax

LONG BatteryPDDGetLevels(void);

Parameters

None.

Return Value

The low word reports the number of battery levels, from zero to three, in the main battery.

The high word reports the number of battery levels, from zero to three, in the backup battery.

Note

This function is statically linked to the battery driver MDD.

Requirements

Header battimpl.h
Windows Embedded CE Windows CE .NET 4.2 and later
Note Statically linked to the battery driver MDD

See Also

Reference

BatteryPDDGetStatus

Concepts

Battery Driver Functions

Other Resources

SYSTEM_POWER_STATUS_EX2