Searched refs:battio (Results 1 – 1 of 1) sorted by relevance
88 union acpi_battery_ioctl_arg battio; in acpi_battinfo() local97 battio.unit = num; in acpi_battinfo()98 if (ioctl(acpifd, ACPIIO_BATT_GET_BIX, &battio) == -1) in acpi_battinfo()100 amp = battio.bix.units; in acpi_battinfo()102 if (battio.bix.dcap == UNKNOWN_CAP) in acpi_battinfo()105 printf("Design capacity:\t%d %sh\n", battio.bix.dcap, in acpi_battinfo()107 if (battio.bix.lfcap == UNKNOWN_CAP) in acpi_battinfo()110 printf("Last full capacity:\t%d %sh\n", battio.bix.lfcap, in acpi_battinfo()112 printf("Technology:\t\t%s\n", battio.bix.btech == 0 ? in acpi_battinfo()114 if (ACPI_BIX_REV_MIN_CHECK(battio.bix.rev, ACPI_BIX_REV_1)) { in acpi_battinfo()[all …]