Hacker News new | past | comments | ask | show | jobs | submit login

Another super useful powercfg flag is /lastwake to tell you why the computer woke up from sleep.

Has helped me identify flaky input peripherals or timers many times. Worst was an HP laptop with a wonky touch bar for media controls, that would frequently ghost press and wake the computer, even when in hibernate and with the lid closed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: