摘要 |
A method for detecting current leakage of electronic components in an electronic device determines a target electronic component that needs to be analyzed for current leakage in response to a user selection. The target electronic component is controlled to enter into a power-off state, and a first current value of the electronic device is acquired from a digital power supply. The target electronic component is activated into a working state, and then is controlled to enter into a sleep state. A second current value of the electronic device is acquired from the digital power supply. It is determined that the current leakage is occurring in the target electronic component, if a first difference between the second current value and the first current value is more than a predetermined value.
|