Platform SDK: Hardware

PBT_APMBATTERYLOW

The PBT_APMBATTERYLOW event is broadcast to notify applications that battery power is low.

A window receives this event through the WM_POWERBROADCAST message. The wParam and lParam parameters are set as described following.

Parameters

wParam
Set to PBT_APMBATTERYLOW.
lParam
Reserved, must be zero.

Return Values

No return value.

Remarks

This event is broadcast when a system's APM BIOS signals an APM battery low notification. Because some APM BIOS implementations do not provide notifications when batteries are low, this event may never be broadcast on some computers.

Requirements

  Windows NT/2000: Unsupported.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Pbt.h.

See Also

Power Management Overview, Power Management Events, WM_POWERBROADCAST