Compartilhar via


BatteryPDDGetLevels (Compact 2013)

3/26/2014

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

See Also

Reference

Battery Driver Functions
BatteryPDDGetStatus

Other Resources

SYSTEM_POWER_STATUS_EX2