mirror of
https://github.com/henrygd/beszel.git
synced 2026-04-03 03:21:50 +02:00
15 lines
328 B
Go
15 lines
328 B
Go
//go:build !freebsd && !darwin && !linux && !windows
|
|
|
|
// Package battery provides functions to check if the system has a battery and to get the battery stats.
|
|
package battery
|
|
|
|
import "errors"
|
|
|
|
func HasReadableBattery() bool {
|
|
return false
|
|
}
|
|
|
|
func GetBatteryStats() (uint8, uint8, error) {
|
|
return 0, 0, errors.ErrUnsupported
|
|
}
|