###User Defined Function###
_WinAPI_GetSystemPowerStatus

###Description###
Retrieves the power status of the system.

###Syntax###
#include <WinAPISys.au3>
_WinAPI_GetSystemPowerStatus (  )


###Parameters###
None

###ReturnValue###
@@ReturnTable@@
Success 	The array containing the following information:
	[0] - The AC power status. This parameter can be one of the following values.
	0 - Offline
	1 - Online
	255 - Unknown status
	[1] - The battery charge status. This parameter can be a combination of the following values.
	0 - The battery is not being charged and its capacity is between low and high
	1 - High - the battery capacity is at more than 66 percent
	2 - Low - the battery capacity is at less than 33 percent
	4 - Critical - the battery capacity is at less than 5 percent
	8 - Charging
	128 - No system battery
	255 - Unknown status - unable to read the battery flag information
	[2] - The percentage of full battery charge remaining. This member can be a value in the range 0 to 100, or 255 if status is unknown.
	[3] - The number of seconds of battery life remaining, or (1) if remaining seconds are unknown.
	[4] - The number of seconds of battery life when at full charge, or (1) if full battery lifetime is unknown.
Failure 	Sets the @error flag to non-zero, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information.
@@End@@


###Remarks###
None


###Related###


###See Also###
@@MsdnLink@@ GetSystemPowerStatus


###Example###
@@IncludeExample@@
