modify battery-mode