fwupd

package
v0.0.0-...-683b059 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package fwupd contains utils to exercise the fwupd portion of Chrome OS.

Index

Constants

View Source
const ChargingStateTimeout = 59 * time.Minute

ChargingStateTimeout has the time needed for polling battery charging state changes.

View Source
const ReleaseURI = "" /* 144-byte string literal not displayed */

ReleaseURI contains the release URI of the test webcam device in the system.

Variables

This section is empty.

Functions

func SetFwupdChargingState

func SetFwupdChargingState(ctx context.Context, charge bool) error

SetFwupdChargingState sets the battery charging state and polls for the appropriate change to be registered by powerd via its dbus method.

Types

This section is empty.

Jump to

Keyboard shortcuts

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