Modify drive power based on global variable