Searched refs:batt_stat (Results 1 – 2 of 2) sorted by relevance
177 print_batt_stat(u_int batt_stat) in print_batt_stat() argument182 if (batt_stat == APM_UNKNOWN) in print_batt_stat()184 else if (batt_stat > 3) in print_batt_stat()185 printf("invalid value (0x%x)\n", batt_stat); in print_batt_stat()187 printf("%s\n", batt_msg[batt_stat]); in print_batt_stat()
119 int batt_stat, devcount, dev_idx, error, i; in acpi_battery_get_battinfo() local 152 batt_stat = valid_rate = valid_units = 0; in acpi_battery_get_battinfo() 189 batt_stat |= bst[i].state; in acpi_battery_get_battinfo() 278 battinfo->state = batt_stat; in acpi_battery_get_battinfo()