The ISensOnNow interface handles AC and battery power events fired by the System Event Notification Service (SENS).
The ISensOnNow interface has these methods.
|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.|
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|