XINPUT_BATTERY_INFORMATION
Describes the type and charge state of a battery.Syntax
Members
BatteryTypeType: BYTE The type of the battery, as one of the following values:
BatteryLevel
Type: BYTE The charge state of the battery, compared to its full-charge capacity, as one of the following values:
Remarks
The BatteryLevel value is valid only for a device that has a known battery type. This structure is used by the XInputGetBatteryInformation function. For more information, see The XInputOnGameInput wrapper.Requirements
Header: XInputOnGameInput.h Supported platforms: XBOX One family consoles and XBOX Series consolesSee also
Porting from XInput to GameInputXInputOnGameInput
