.NET Framework 4.6 and 4.5
The PowerStatus type exposes the following members.
|BatteryChargeStatus||Gets the current battery charge status.|
|BatteryFullLifetime||Gets the reported full charge lifetime of the primary battery power source in seconds.|
|BatteryLifePercent||Gets the approximate amount of full battery charge remaining.|
|BatteryLifeRemaining||Gets the approximate number of seconds of battery time remaining.|
|PowerLineStatus||Gets the current system power status.|