The power-control
interface allows the reading and setting of system power settings.
This interface is primarily intended to be used with Ubuntu Core.
Interface documentation:
See Interface management and Supported interfaces for further details on how interfaces are used.
Auto-connect: no
This interface enables:
/sys/devices/**/power/
/sys/devices/**/power/wakeup
/sys/devices/**/power/control
The test code can be found in the snapd repository: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/power_control_test.go
The source code for the interface is in the snapd repository: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/power_control.go
Last updated 3 years ago.