Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatteryStatus ¶
BatteryStatus is a function used to get output of `pmset -g ps` command
func ExecuteCustomCommand ¶
ExecuteCustomCommand is a function used to execute custom commands like `pmset -g therm`. To call this function, only the arguments, for example, ExecuteCustomCommand("-g", "therm")
func ExecuteHelpCommand ¶
ExecuteHelpCommand() is a function used to see the manual page of pmset command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.