Versions in this module Expand all Collapse all v0 v0.0.13 Nov 7, 2026 Changes in this version + func WatchBattery(ctx context.Context, f func(Battery)) error + type Battery struct + Charging bool + Level float32 + LowPower bool + func GetBattery(ctx context.Context) (Battery, error) + type Info struct + Manufacturer string + Memory int64 + Model string + OSVersion string + Platform string + Virtual bool + func Get(ctx context.Context) (Info, error)