uniwill_write_charge_type
return uniwill_write_charge_type(data, data->last_charge_type);
ret = uniwill_write_charge_type(data, val->intval);