Is there a way to make a computer go into sleep mode immediately when not plugged in, and then wake-up automatically when power returns?
But if it goes to sleep under bat power, will it wake back up under AC?
I also tried the deviceenablewake command and It tells me I don't have permission to do that. I even tried launching command prompt using the "run as administrator".