BATTERY OPTIMIZATION