acpi_battery

  1. A

    Solved Issue with ioctl(2) request to ACPI battery.

    Hi everybody! I'm writing a simple C program that can read battery information. I'm sending a ACPIIO_BATT_GET_BATTINFO ioctl request to /dev/acpi device. And it seems to work. However, ioctl request exits with error "Device not configured" when I put inside the loop. Here's the program sample...
Back
Top