Desktop Functions: Smart Device Functions:
|
SYSTEM_POWER_STATUS_EX (coredll)
![]() coredll is for smart devices, not desktop Windows. Therefore, this information only applies to code using the .NET Compact Framework. To see if information for SYSTEM_POWER_STATUS_EX in other DLLs exists, click on Find References to the right. C# Definition:
[StructLayout(LayoutKind.Sequential)] VB Definition:
Structure SYSTEM_POWER_STATUS_EX User-Defined Field Types:None. Notes:ACLineStatus
AC power status. It is one of the following values. Value Description BatteryFlag
Battery charge status. It can be a combination of the following values:
BatteryLifePercent
Percentage of full battery charge remaining. This member can be a value in the range 0 to 100, or 255 if status is unknown. All other values are reserved. Reserved1
Reserved; set to zero. BatteryLifeTime
Number of seconds of battery life remaining, or 0xFFFFFFFF if remaining seconds are unknown. BatteryFullLifeTime
Number of seconds of battery life when at full charge, or 0xFFFFFFFF if full lifetime is unknown. Reserved2
Reserved; set to zero. BackupBatteryFlag
Backup battery charge status. It can be a combination of the following values:
BackupBatteryLifePercent
Percentage of full backup battery charge remaining. Must be in the range 0 to 100, or BATTERY_PERCENTAGE_UNKNOWN. Reserved3
Reserved; set to zero BackupBatteryLifeTime
Number of seconds of backup battery life remaining, or BATTERY_LIFE_UNKNOWN if remaining seconds are unknown. BackupBatteryFullLifeTime
Number of seconds of backup battery life when at full charge, or BATTERY_LIFE_UNKNOWN if full lifetime is unknown. Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|