Library electronics.battery.dischargetime-1

electronics.battery.dischargetime-1
import electronics.battery.dischargetime-1

Library for calculating battery discharge time by Peukert's law.

For more details, see https://en.wikipedia.org/wiki/Peukert's_law, http://www.smartgauge.co.uk/peukert2.html.

NOTE: Use the 1H versions of the functions ONLY IF Peukert Capacity is given. This is only in very rare cases (about 1% of battery specifications).

Calculate the battery discarge time if Peukert's capacity is given (also called one-ampere discharge rate).
Calculate the battery discarge time.
Calculate the Peukert's capacity of a battery for a given discarge time with a constant load.
Calculate the capacity of a battery for a given discarge time with a constant load.