package
0.0.0-20240831221938-81d58bd93b8c
Repository: https://github.com/vanilla-os/sdk.git
Documentation: pkg.go.dev
# Functions
GetBatteryHealth calculates the battery health based on the battery statistics.
GetBatteryStats retrieves battery statistics using sysfs.
GetInputDevices returns a list of input devices with specific details.
No description provided by the author
GetPCIDeviceByIDs returns a PCIDeviceMapDevice by vendor ID and device ID, useful for getting the name of a PCI device or the vendor name.
GetPCIDevices returns a list of PCI devices from /sys/bus/pci/devices.
GetPeripheralList returns a list of all system peripherals.
LoadPCIDeviceMap loads the PCI IDs from /usr/share/misc/pci.ids.
MapChassisType maps the chassis type to a standardized representation.