Code 11 and now fast battery drain 2001 E825

Error code 11: accelerator pedal stuck safety lock out check for debris or floor mat
lodged under pedal

Not sure if the drain is related to the error, it’s possible something is amiss in the pedal. On the older models it’s just a simple TIG welding pedal. If needed, you can find parts here:
https://linemaster.com/product/421/Varior-Potentiometer/09ASAC-5K/