powercfg won't produce battery report or sleep study

1

I'm trying to diagnose a potential issue with my (fully up to date) Surface Pro 6. When I put it to sleep overnight it drops about 15-25% battery.

In my investigation, I wanted to look at both

powercfg /batteryreport
powercfg /sleepstudy

however, when I run these commands from an elevated cmd prompt I get the response

Unable to perform operation.  An unexpected error (0xb7) has occurred:  Cannot create a file when that file already exists. 

while true, battery-report.html, does exist... this doesn't matter on any other machine - it just overwrites it.

my powercfg works fine, if I run

powercfg /energy

it outputs the expected

Enabling tracing for 60 seconds...
Observing system behavior...
Analyzing trace data...
Analysis complete.

Energy efficiency problems were found.

8 Errors
8 Warnings
42 Informational

See C:\WINDOWS\system32\energy-report.html for more details.

This contains a bunch of USB Suspend:USB Device not Entering Selective Suspend reports that I think, are from my Surface Dock. Run it unplugged and they aren't present.

Regardless, this isn't the problem I'm trying to solve here.

Update

powercfg /systemsleepdiagnostics = works...

powercfg /systempowerreport = fails (file exists error again)

powercfg /srumutil = fails with...

Error: SruUpdateStats failed
Completed with status 183 (0x000000b7)
Unable to perform operation.  An unexpected error (0x1f) has occurred:  A device attached to the system is not functioning.

Summary

These are broken...

powercfg /batteryreport
powercfg /sleepstudy
powercfg /systempowerreport
powercfg /srumutil

while these are not...

powercfg /energy
powercfg /systemsleepdiagnostics
windows-10
battery
sleep
asked on Super User Aug 16, 2019 by Oliver9523 • edited Aug 17, 2019 by Oliver9523

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0