package
Version:
v0.28.0
Opens a new window with list of versions in this module.
Published: Dec 21, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package battery gets MacBook battery status. It shows how to run external
commands and how to parse their output.
Level: intermediate
Topics: exec, regexp, tpg-tools
type Status struct {
ChargedPercent int
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.