Share via


BatteryPDDGetLevels (Windows CE 5.0)

Send Feedback

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

BatteryPDDGetStatus | SYSTEM_POWER_STATUS_EX2

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.