Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7839811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T15:33:26+00:00 2026-06-02T15:33:26+00:00

getPower() returns the power in mA used by a sensor while in use: Now,

  • 0

getPower() returns the power in mA used by a sensor while in use:

Now, I need to calculate how much battery is used by the registration of the sensor.

Does he value returned by getPower() indicate the mAH (mA per HOUR) or something else?
If yes, is there a way to get the battery mAH in order to calculate the % of battery used by the sensor?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T15:33:27+00:00Added an answer on June 2, 2026 at 3:33 pm

    Something quite related has been discussed in Google groups not too long ago. You can find the full thread here for reference.

    A small excerpt from the last reply in that thread, which should answer your question more or less:

    (…) the battery capacity is always given in terms of mAH. (…) What
    matters is how long a battery can supply a given current at its
    rated voltage. 3800mAH means that it can supply 3800mA for 1 hour.
    Knowing this it makes sense now that the API is providing the current
    drain as a metric of power consumption. You can now calculate how much
    effect it will have on the battery life as a function of time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

so i have this function in C to calculate a power, and i'm using
Following are two pieces of code I used to compute power sets of elements
I have this simple query: SELECT POWER(( 1 + 3 / 100 ), (
i am trying to calculate an angle of a body in my game. i
Having a horrible night with this, I'm new to C++ and I don't understand
I have this .h file #ifndef VISUALSETTINGS_H #define VISUALSETTINGS_H #include <QPair> #include <QDataStream> class
I'm learning Haskell and solving some programming problems on spoj.pl. The idea of the
I am making game for android using libgdx my requirement is that when character
I'm having a very strange problem with my custom listview. This Listview shows a
I am getting an error on this line: Attack a(Nothing, 60, Magic); Here is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.