Cableguy is right.
Another point.
It is a little bit dangerous if you want to detect a powerline within a wall by that principle. Many metals are not magnetic (aluminium, copper, brass, silver, gold).
So when it comes to a copperline or a line of aluminium, you may or may not detect it as long there is electricity in the line. An electric field creates an magnetic field. But when powering of the line, there is no magnetic field in a copper- or aluminium based powerline. Ergo you are not able to detect this kind of metal. The good thing is, if there is power in the line, there is a magnetic field. If you can measure it, it can give you a warning. Be very careful with that kind of detection. I for myself would never trust such an indication of a standard mobile phone.