//go:build !linux && !darwin && !windows package main import "errors" func systemBattery() (bool, error) { return false, errors.New("battery state is not available on this platform") }