acpi

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PowerButtonEvent is the ACPI event name associated with the power off
	// button.
	PowerButtonEvent = "button/power"
)

Variables

This section is empty.

Functions

func StartACPIListener

func StartACPIListener() (err error)

StartACPIListener starts listening for ACPI netlink events.

Types

This section is empty.

Jump to

Keyboard shortcuts

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