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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.