I’m looking for some way to detect that the computer has been woken after sleeping.
My problem is that my application estimates the time remaining to complete long tasks. When a laptop goes to sleep, the time elapsed will be wrong because it will include time spent sleeping.
↧