rx51_battery_read_voltage
val->intval = rx51_battery_read_voltage(di) ? 1 : 0;
val->intval = rx51_battery_read_voltage(di);