What it means
The accelerator pedal has two position sensors that must always agree. When their signals differ by more than allowed for about 2 seconds, the engine computer sets P2138 and limits power (Reduced Engine Power) for safety.
What GM found
Bulletin 07-06-04-019 (H2 2005–2008, H3 2006–2008)
Intermittent check engine light with Reduced Engine Power and P2138. Water gets into the instrument-panel-to-body harness connector in the left kick panel area and shorts the accelerator pedal sensor circuits. GM: don't replace the accelerator pedal — find and fix the water leak, then repair the connector.
Bulletin 08-06-04-014 (H3 2006–2007 3.5L/3.7L)
Two or more of P060E, P1516, P2135 and P2138 with Reduced Engine Power. A battery voltage drop while cranking sets the codes. GM's fix: test and charge the battery.
Bulletin 07-06-04-003 (H3 2006 3.5L)
Repeat P1516, P2135 and/or P2138 can come from an internal fault in the engine computer (PCM). GM checks the PCM build date from its serial number and replaces affected units. GM: don't replace the accelerator pedal sensor.
GM in every bulletin for these codes: don't replace the accelerator pedal or its sensor before checking the battery, the harness connector and the engine computer.
Codes and descriptors come from GM's DTC master lists in GM Service Information. A code tells you which circuit or system failed a self-test — not which part to replace. Diagnose before buying parts.