you have been able to
Has hecho todo lo que has podido.
You've done everything you could.
Cómo has podido mear en tres pruebas?
How have you managed to pee in three tests?
— Juno: Crecer, correr y tropezar (2007)
Y sabemos que no te has podido tomar tus medicinas.
And we know you haven't been able to take your medicine.
— [REC] (2007)
You've done what you could.