Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Battery ¶
type Battery struct {
// battery id
Id int
// current battery capacity in percent
Capacity int
CapacityLevel string
CycleCount int
EnergyFull int
EnergyFullDesign int
EnergyNow int
Manufacturer string
ModelName string
PowerNow int
// whether the battery is present
Present bool
SerialNumber string
// battery status, e. g. "Charging"
Status string
Technology string
VoltageNow int
VoltageMinDesign int
}
Click to show internal directories.
Click to hide internal directories.