Documentation
¶
Overview ¶
Command power demonstrates github.com/crgimenes/native/power: it asks the OS to keep the system awake, holds the inhibition for a few seconds, then releases it. While it is held you can confirm it is live with `pmset -g assertions` on macOS or `powercfg /requests` on Windows. Run it with:
go run ./examples/power
Click to show internal directories.
Click to hide internal directories.