A system can include a battery, a processing device, and a memory device. The battery can power a device. The memory device can store instructions are stored for causing the processing device to track data about the battery. The processing device can determine a battery life of the battery based on the data. The battery life can indicate a degradation in the battery over multiple discharge cycles. The processing device can notify a user of the device if the battery life is below a threshold value.