Johnny Depp and the Hollywood Vampires Attend Hearing Aid Charity Event Before Portugal Performance

This video is unavailable because we were unable to load a message from our sponsors.

If you are using ad-blocking software, please disable it and reload the page.

Johnny Depp is not letting his legal drama with Amber Heard get in the way of having a good time -- or from giving back.

Ahead of his Friday night performance with the Hollywood Vampires in Lisbon, Portugal, the Alice Through the Looking Glass star attended a Charity event with his rock supergroup.

WATCH: Amber Heard Alleges Johnny Depp Abused Her Throughout Relationship

Getty Images

Depp, his bandmates, Alice Cooper and Joe Perry, and their frequent collaborators, Robert Deleo, Tommy Henriksen and Bruce Witkin, helped fit and adjust free hearing aids to 30 patients from Santa Casa da Misericordia de Lisboa, a catholic Charity organization, in support of the Starkey Hearing Foundation Hearing Mission.

Getty Images

Depp, 52, was all smiles at the event as he chatted with patients.

Getty Images

PHOTOS: Johnny Depp Takes the Stage in Portugal After Amber Heard's Domestic Abuse Claims

According to a post on the Hollywood Vampires' official Facebook page, the band partnered with Starkey in order to bring awareness to the foundation, which brings hearing aids to impoverished places around the world "where the hearing impaired are often unable to participate in life."

The band also shared a few highlights from the charity event to their Instagram page.

Later, the group took the stage to perform at the Rock in Rio music festival. Perry and Depp snapped a pic together backstage before rocking out in front of the crowd.

PHOTOS: Johnny Depp Still Touring With Hollywood Vampires Amid Legal Drama With Amber Heard

Hours before the performance, Depp's estranged wife, Heard, was granted a temporary domestic violence restraining order against the actor. The Los Angeles court visit came less than a week after the 30-year-old actress filed for divorce from Depp.

Hear more in the video below.

Related Gallery