Yup, the repair mechanic definitely needs to be clearer! You just hold down the R key and if you have Energy it will be converted at a certain rate into Integrity. The conversion rate is upgradeable. Thanks for playing!