Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Power Management Control Codes

The following control codes are used with batteries.

Control CodeDescription
IOCTL_BATTERY_QUERY_INFORMATION Retrieves a variety of information for the battery
IOCTL_BATTERY_QUERY_STATUS Retrieves the current status for the battery.
IOCTL_BATTERY_QUERY_TAG Retrieves the battery's current tag.
IOCTL_BATTERY_SET_INFORMATION Sets various battery information.


The following control codes are part of the backlight control interface.

Control CodeDescription
IOCTL_VIDEO_QUERY_DISPLAY_BRIGHTNESS Retrieves the current AC and DC backlight levels and the current power state.
IOCTL_VIDEO_QUERY_SUPPORTED_BRIGHTNESS Retrieves the supported backlight levels.
IOCTL_VIDEO_SET_DISPLAY_BRIGHTNESS Sets the current AC and DC backlight levels




© 2016 Microsoft