The requirement is to compute the capacity of the battery in order to calculate the capacity degradation.

The input which can be acquired are current, voltage, relative time, battery level (in terms of percentage).

As per as formula

Capacity = Integral of Current over time. (of discharge cycle)

So the doubt is, does the time here mean from reaching, say, x voltage to y, or from battery level 100% to 0% on discharging?

Basically, how is the interval to calculate capacity is considered?

  • \$\begingroup\$ How are you acquiring battery level in terms of percentage? \$\endgroup\$
    – Finbarr
    Oct 4, 2018 at 9:39
  • \$\begingroup\$ The readings are taken from mobile phone, so it provide API to take battery level. \$\endgroup\$
    – Simi N.A
    Oct 4, 2018 at 9:40
  • \$\begingroup\$ You need to have the discharge graph from the battery in question in order to derive the information you want. It should be in the datasheet for the battery used. \$\endgroup\$
    – MathiasE
    Oct 4, 2018 at 9:52
  • \$\begingroup\$ Sorry, discharge graph means .. what all parameters are in it ? . and currently I am bothered to compute the estimated capacity which is deferred from the rated (design) capacity., \$\endgroup\$
    – Simi N.A
    Oct 4, 2018 at 10:08

1 Answer 1


You have discovered why "battery capacity" is a vague term. Yes, you have to define what the ending conditions are. Usually this is the voltage that the battery should not be discharged below to avoid damage.

If you really want to know what the battery can do for you, it is better to measure the total energy delivered in one discharge. That is the integral of voltage times current. You can still measure capacity (integral of just current) to have something to compare to the official specs.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.