Danny King
Danny King

Reputation: 1991

Wake up from standby/hibernate programmatically in Windows in python?

I'm thinking of making an alarm clock that can wake up some systems (depending on motherboard model) from hibernation/standby modes at a certain pre-determined time. I've seen similar software do this, I think in VB. I can't seem to find any documentation anywhere on how to do this in Python. Does anyone have any hints? If it's not possible in Python, is there perhaps a way to do it in e.g. c++ and call that binary from python?

Thanks!

Upvotes: 1

Views: 2012

Answers (1)

Luke
Luke

Reputation: 11421

SetWaitableTimer can wake up a suspended machine.

Upvotes: 2

Related Questions