Versions in this module Expand all Collapse all v0 v0.0.42 May 30, 2016 Changes in this version + var Module = modules.Module + func CreateInstance(name string, config map[string]interface{}) (instance modules.ModuleInstance) + type BatteryInfo struct + Capacity int + Capacity_level string + Cycle_count int + Energy_full int + Energy_full_design int + Energy_now int + Manufacturer string + Model_name string + Name string + Percentage float64 + Power_now int + Present string + Serial_number string + Status string + Technology string + Voltage_min_design int + Voltage_now int + func NewBatteryInfo(fileName string) *BatteryInfo + type BatteryInstance struct + func (i BatteryInstance) Name() string + func (i BatteryInstance) RefreshInterval() int + func (i BatteryInstance) Render() (item modules.Item) + func (i BatteryInstance) String() (s string) + type BatteryItem struct + Markup string + Name string + Text string + func (e BatteryItem) Marshal() (bytes []byte)