Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 883 Bytes

battery_getdeviceselector_838466080.md

File metadata and controls

24 lines (17 loc) · 883 Bytes
-api-id -api-type
M:Windows.Devices.Power.Battery.GetDeviceSelector
winrt method

Windows.Devices.Power.Battery.GetDeviceSelector

-description

Gets an Advanced Query Syntax (AQS) string that can be used to find all battery controllers that are connected to the device.

-returns

An AQS string that can be used to find all battery controllers connected to the device.

-remarks

Use the AQS string returned by GetDeviceSelector with the DeviceInformation APIs to find all battery controllers that are connected to the device. See FromIdAsync for information on how to create a Battery object.

-examples

-see-also

Get battery information