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?
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: