updated power management to keep motors on