Cypress Perform

Home > Support & Community
support.cypress.com     Bookmark and Share
Support & Community

Knowledge Base Article



Battery Life Calculator

Last Updated: 03/27/2011

How to calculate the life of battery in a battery powered application

Generally, in a battery powered application, the processor will be put to sleep and will wake up regularly to perform certain tasks and will go back to sleep after performing the tasks.  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 mAH

Using the values #1 to #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. 

The VB application attached to this article can be used 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 Title Language File Size Last Updated
  Battery Life Calculator English 248 KB 04/27/09

Related Categories: PSoC® 1


Provide feedback on this article

Did this article help you solve your problem?

Yes

No

Maybe

Additional comments:

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

 Help us improve by taking a brief survey
Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 06/15/20
Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 06/15/20