You are here

Battery Life Calculator – KBA88121 | Cypress

Support & Community

Battery Life Calculator – KBA88121

Last Updated: August 27, 2014
Version: 
**
Question: 

How do you calculate the battery life in a battery-powered application?

Answer: 

The processor is put to sleep and wakes up regularly to perform certain tasks; after it completes the tasks, the processor goes back to sleep. The following parameters are required to calculate the life of the battery in a battery-powered application:

  1. Sleep Current: The current drawn from the battery when the processor is asleep.
  2. Time in Sleep: The time the processor spends in sleep mode in a second.
  3. Active Current: The current drawn from the battery when the processor is awake and is performing the required tasks.
  4. Time in Active Mode: The time the processor spends in active mode in a second.
  5. Capacity of the battery in mA-H: Using the values of Nos. 1, 2, 3, and 4, the average current consumption per second is calculated. Using this average current and the capacity of the battery, the life of the battery is calculated.

You can use the Visual Basic application attached to this article to calculate the battery life. Key in the On Time, Sleep Time, Active Current, Sleep Current and Battery Type or Capacity, click “Calculate,” and the application will calculate the approximate battery life expected.

File TitleLanguageFile SizeLast Updated
Download Battery Life Calculator.zipEnglish248.15 KB08/27/14
Knowledge Base Tags: 

Provide feedback on this article

To protect your privacy, do not include contact information in your feedback.

Browse KB By Product

Browse KB by Type