Effective scheduling of battery charge and discharge activities, by making the most of battery characteristics, can extend the battery pack's operation-time and lifetime. A system and method for scheduling battery activities is disclosed. This framework dynamically adapts battery activities to load demands and to the condition of individual battery cells, thereby extending the battery pack's operation-time and making them robust to anomalous voltage imbalances. The scheduling framework includes two components. An adaptive filter estimates the upcoming load demand. Based on the estimated load demand, a scheduler can determine the number of parallel-connected battery cells to be discharged. The scheduler also effectively partitions the battery cells in a pack, allowing the battery cells to be simultaneously charged and discharged in coordination with a reconfigurable battery circuit.