[][src]Function acpi_client::ac_adapter::get_ac_adapter_info

pub fn get_ac_adapter_info(
    path: &Path
) -> Result<Vec<ACAdapterInfo>, AcpiClientError>

Check the ACPI system for all AC adapters the OS knows about.

Arguments

  • path - The path to AC adapter entries produced by the ACPI subsystem.