power

command
v0.1.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2026 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL