microsoft / microsoft/Windows-driver-samples

usbview reports different USB device power state from device manager

Open
#777 3 comments 0 reactions 1 assignee View on GitHub

@AndrewYangMSFT is already working on this.

Since Dec 17, 2025.

question
Dominant language
C
Stars
7.8k
Forks
5k
Avg merge
3d 17h
Merged PRs (30d)
7

Description

This issue stems from my question https://stackoverflow.com/questions/73490266/retrieve-windows-usb-device-power-status-from-the-command-line

I have tried checking the current USB device power state of a random device on my system, here Realtek USB 2.0 Card Reader.

Windows (10) Device Manager/ [right-click device node/Properties]/ Details/ Property: Power data/ Value: Current power state reports state D0:

device manager

If I use usbview to inspect the same device (where there are no physical changes, such as inserting a card, of the device state), I get D2 for the device power state instead:

USBview

Is this expected behavior - and if so, shy does it happen?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.