A method for managing a rechargeable battery. The method includes a computer processor identifying a rechargeable battery within a first device. The method further includes a computer processor identifying a battery maintenance policy associated with the rechargeable battery. The method further includes a computer processor determining a first set of models for implementing the identified battery maintenance policy on the identified rechargeable battery based on the identified battery maintenance policy and one or more environmental factors corresponding to the first device. The method further includes a computer processor installing the first set of models in the first device. The method further includes a computer processor performing an intervention action based, at least in part, on a current state of the first set of models and one or more current environmental factors corresponding to the first device.