A 24-year-old man suspected of attempting to burglarize a home on Friday was captured by the homeowner, who also is a detention officer, according to the Mesa Police Department.

Scott Boe told police he was in the home because he needed to use a power outlet to charge his cell phone but that he did not have permission to be there, according to police reports.

The homeowners found the suspect in the home in the 1900 block of East Fifth Avenue when they returned. The suspect attempted to flee but was restrained by the homeowner, according to police.

Inside the home police found the suspect's backpack containing several knives, a large pry tool and other tools that are used in burglaries.

Boe, who told police he uses illegal drugs, was booked on one count of second-degree burglary and one count of possession of burglary tools.