ISensOnNow interface

The ISensOnNow interface handles AC and battery power events fired by the System Event Notification Service (SENS).

Methods

The ISensOnNow interface has these methods.

Method Description
ISensOnNow::BatteryLow The BatteryLow method notifies an application that battery power is low. SENS calls the BatteryLow method to notify an application that a computer is using battery power.
ISensOnNow::OnACPower SENS calls the OnACPower method to notify your application that the computer is using AC power.
ISensOnNow::OnBatteryPower SENS calls the OnBatteryPower method to notify an application that a computer is using battery power.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header sensevts.h

See Also

About System Event Notification Service

ISensLogon

ISensNetwork