Documentation ¶
Index ¶
Constants ¶
View Source
const FB_SLEEP_PATH = "/sys/power/wait_for_fb_sleep"
View Source
const FB_WAKE_PATH = "/sys/power/wait_for_fb_wake"
View Source
const INPUT_EVENT_PATH_KEYS = "/dev/input/event0"
View Source
const POWER_STATE_PATH = "/sys/power/state-extended"
Variables ¶
This section is empty.
Functions ¶
func IsScreenOn ¶
func MonitorFbSleep ¶
func MonitorFbWake ¶
func SendButtonPress ¶
func SendPowerButtonPress ¶
func SendPowerButtonPress() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.