I have a problem whereby my laptop battery is dying overnight when the laptop is supposed to be hibernating.
The issue is reliably reproducible and seems to be triggered by having previously been connected to a monitor via USB-C.
After I have finished using my laptop for the evening, I'll close the lid and disconnect the USB-C cable connecting it to the monitor. Closing the lid should send the computer to sleep when on battery or AC power. I'll open the lid in the morning and get no response. The laptop doesn't respond when pressing the power button either. I have to connect the charger and then turn it on. Once in Windows I can see the battery is now charging from 0%.
I have run various reports from the powercfg utility and checked the Event Viewer but there doesn't seem to be any indication as to why the battery is draining.
The most recent occurrence of the issue was overnight 20/08-21/08.
From this chart you can see there's no data produced shortly after midnight on the 20/08. System Power Report Power State Transitions
Sleep Study power states This section of the Sleep Study report shows that at 21:40 I closed the lid on the laptop causing the screen off event. I then disconnected the USB-C cable causing the power state to change from Charge to Drain.
My understanding of the modern standby is a bit sketchy but I believe that at 21:46 my laptop went to sleep. It remained in sleep and various activities were still allowed for approx. 3 hours until 5% of the battery had been drained, when it moved into a hibernate state. According to line 107 it remained in a hibernate state for approx 8.5hrs. When I turned the laptop on at 09:24 on the 21/08, the battery was dead.
I checked the Event Viewer and found that the laptop does appear to go into hibernate at 00:46:50 as per the sleep study report.
But then 1s later at 00:46:51 the laptop resumes from sleep (according to the Event Viewer)
I had considered there was some sort of Power Delivery issue from the monitor and charging over USB-C. To test, I connected a USB-C charger to the laptop, topped up the battery to 100% and left it for a few hours. The issue didn't occur.
I also found this post in a Dell community forum where another user has found that this particular monitor appears to violate the USB specification with regards to power delivery. I had assumed that the constant waking of the laptop would only occur if it remained connected to the monitor. In my case I am disconnecting the monitor after use.
If after this has occurred I reboot the laptop and refrain from using the monitor, this issue does not occur. The laptop will hibernate properly and use minimal battery overnight.
Tech details: Surface Laptop 3 Windows 10 Pro 20H2 Build 19042.1165 Monitor: Dell U3818DW
Can anyone suggest anything else I can try or any other reports I can look at to try to understand why the laptop appears to be failing to go to sleep/hibernate properly please?