getPower () returns the power in mA used by the sensor during use:
Now I need to calculate how much battery is used when registering the sensor.
Does he know the value returned by getPower (), indicates mAH (mA per HOUR) or something else? If so, is there a way to get mAH batteries to calculate the% battery used by the sensor?
java android sensor
Hoconosc
source share