IWDTFSimulatedBatterySystemAction interface (wdtfsimulatedbatterysystemaction.h)
IWDTFSimulatedBatterySystemAction Interface
Inheritance
The IWDTFSimulatedBatterySystemAction interface inherits from IWDTFAction2. IWDTFSimulatedBatterySystemAction also has these types of members:
Methods
The IWDTFSimulatedBatterySystemAction interface has these methods.
IWDTFSimulatedBatterySystemAction::DisableRealBatteries Disables real batteries if they are present in the system. |
IWDTFSimulatedBatterySystemAction::DisableSimulatedBattery Disables the simulated battery. |
IWDTFSimulatedBatterySystemAction::EnableRealBatteries Enables real batteries if they are present in the system. |
IWDTFSimulatedBatterySystemAction::EnableSimulatedBattery Enables the simulated battery. |
IWDTFSimulatedBatterySystemAction::SetSimulatedBatteryChargePercentage Sets the charge percentage reported to the OS by the simulated battery. |
IWDTFSimulatedBatterySystemAction::SetSimulatedBatteryToAC Sets the simulated battery status to AC power. |
IWDTFSimulatedBatterySystemAction::SetSimulatedBatteryToDC Sets the simulated battery status to DC power. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 |
Minimum supported server | Windows Server 2012 R2 |
Target Platform | Windows |
Header | wdtfsimulatedbatterysystemaction.h |