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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…