implement functions for setting drive power