Battery Driver IOCTLs (Compact 2013)
3/26/2014
The following table shows the battery driver IOCTLs with a description of the purpose of each.
Programming element |
Description |
---|---|
This IOCTL returns the number of levels that the battery driver is capable of returning in the BatteryFlag and BackupBatteryFlag members of the SYSTEM_POWER_STATUS_EX2 structure. The DeviceIoControl function calls this IOCTL. |
|
This IOCTL retrieves the time the user changed the batteries, the amount of time they used the batteries, and the amount of time they used the batteries before replacing them. The DeviceIoControl function calls this IOCTL. |
|
This IOCTL retrieves information for the GetSystemPowerStatusEx system call. The DeviceIoControl function calls this IOCTL. |
|
This IOCTL retrieves information for the GetSystemPowerStatusEx2 system call. The DeviceIoControl function calls this IOCTL. |
|
This IOCTL adjusts times to account for the user changing the real time. The DeviceIoControl function calls this IOCTL. |
|
This IOCTL indicates whether the battery driver can report whether the batteries were changed. The DeviceIoControl function calls this IOCTL. |