Skip to main content

XINPUT_BATTERY_INFORMATION

Describes the type and charge state of a battery.

Syntax

Members

BatteryType
Type: 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 consoles

See also

Porting from XInput to GameInput
XInputOnGameInput
Last modified on August 20, 2026