Platform SDK: Synchronization Manager

ISensOnNow::BatteryLow

Battery power is low.

HRESULT BatteryLow(
  DWORD dwBatteryLifePercent    // Percent of battery power remaining
);

Parameters

dwBatteryLifePercent
[in] Specifies the percent of battery power remaining.

Dispatch Identifier

[id(0x00000003)]

Return Values

S_OK
Method returned successfully.

Remarks

SENS calls this method to notify your application that the computer is using battery power. The remaining percentage of battery power is specified.

Filtering

Filtering is not currently supported for this event.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Sensevts.h.
  Library: Use Sensevts.tlb.

See Also

ISensOnNow::OnBatteryPower, About System Event Notification Service, IEventSubscription, IEventSubscription::PutPublisherProperty