A device is disclosed that determines the actual capacity of a battery. The device determines the charge state of the battery and monitors discharge events. Before additional charge is applied, a minimum useful capacity is recorded based on passed charge values recorded by a battery gas gauge during discharge. Before a low voltage shut down, a full capacity is recorded based on passed charge values. The battery capacity information can be used to provide insights on the timing for battery replacement and for improvement in workflows involving the device.