POWER_IOC_GET_TYPE
case POWER_IOC_GET_TYPE:
if (prog_ioctl(fd, POWER_IOC_GET_TYPE, &power_type) == -1) {