power

package
v0.0.0-...-cc446a1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Discharging status = "Discharging"
	NotCharging status = "Not charging"
	Charging    status = "Charging"
	Full        status = "Full"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Power

type Power struct {
	// contains filtered or unexported fields
}

func New

func New() *Power

func (*Power) OnClick

func (pw *Power) OnClick()

func (*Power) Start

func (pw *Power) Start(out chan internal.Update)

func (*Power) Stop

func (pw *Power) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL