BatteryPDDGetLevels

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.

LONG BatteryPDDGetLevels(void);

Parameters

None.

Return Values

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.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Battimpl.h.
Link Library: Statically linked to the battery driver MDD.

See Also

Battery Drivers | BatteryPDDGetStatus | SYSTEM_POWER_STATUS_EX2

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.