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.
nolint: gocyclo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.