BatteryInfoChangedEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Battery changed information.
public class BatteryInfoChangedEventArgs : EventArgs
- Inheritance
-
System.EventArgsBatteryInfoChangedEventArgs
Remarks
Returns the current information of the battery.
Constructors
| BatteryInfoChangedEventArgs(Double, BatteryState, BatteryPowerSource) |
The public constructor. |
Properties
| ChargeLevel |
Gets the current charge level of the device from 0.0 to 1.0. |
| PowerSource |
Gets the current power source for the device. |
| State |
Gets the charging state of the device if it can be determined. |
Methods
| ToString() |
Outputs the data as a string. |