Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

Battery Life Calculator – KBA88121

lock attach
Attachments are accessible only for community members.

Battery Life Calculator – KBA88121

MR_41
Employee
Employee
First like received
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.

Attachments
0 Likes
663 Views
Contributors