A system for providing current detection in an integrated circuit chip while compensating for variations in circuit components resulting from process, voltage supply, temperature, or combinations thereof, the system comprising: the IC chip including: a power switch circuit that includes a power circuit path including a first transistor connected to: a power source through a first conductive trace that has a first resistance value, and a load through a second conductive trace having a second resistance value; and a current detection circuit configured to compensate for the variations in the power switch circuit, the current detection circuit including: a current source circuit, a sense circuit path that is configured to match process, voltage supply, and temperature variations in the power circuit path, the sense circuit path including a second transistor connected to the power source by a third conductive trace having a third resistance value and to the current source circuit by a fourth conductive trace having a fourth resistance value, and a comparator circuit configured to compare a voltage drop across the power circuit path to a voltage drop across the sense circuit path and, in response to the comparison, provide a data signal to an output of the current detection circuit, characterized in that the first transistor is configured with first on-resistance value and the second transistor is configured with a second on-resistance value and wherein a ratio of the first and second resistance values to the first on-resistance value is substantially equal to a ratio of the third and fourth resistance values to the second on-resistance value. a power switch circuit that includes a power circuit path including a first transistor connected to: a power source through a first conductive trace that has a first resistance value, and a load through a second conductive trace having a second resistance value; and a power source through a first conductive trace that has a first resistance value, and a load through a second conductive trace having a second resistance value; and a current detection circuit configured to compensate for the variations in the power switch circuit, the current detection circuit including: a current source circuit, a sense circuit path that is configured to match process, voltage supply, and temperature variations in the power circuit path, the sense circuit path including a second transistor connected to the power source by a third conductive trace having a third resistance value and to the current source circuit by a fourth conductive trace having a fourth resistance value, and a comparator circuit configured to compare a voltage drop across the power circuit path to a voltage drop across the sense circuit path and, in response to the comparison, provide a data signal to an output of the current detection circuit, characterized in that the first transistor is configured with first on-resistance value and the second transistor is configured with a second on-resistance value and wherein a ratio of the first and second resistance values to the first on-resistance value is substantially equal to a ratio of the third and fourth resistance values to the second on-resistance value. a current source circuit, a sense circuit path that is configured to match process, voltage supply, and temperature variations in the power circuit path, the sense circuit path including a second transistor connected to the power source by a third conductive trace having a third resistance value and to the current source circuit by a fourth conductive trace having a fourth resistance value, and a comparator circuit configured to compare a voltage drop across the power circuit path to a voltage drop across the sense circuit path and, in response to the comparison, provide a data signal to an output of the current detection circuit, characterized in that the first transistor is configured with first on-resistance value and the second transistor is configured with a second on-resistance value and wherein a ratio of the first and second resistance values to the first on-resistance value is substantially equal to a ratio of the third and fourth resistance values to the second on-resistance value.