计算机器人传感器的功耗功耗、机器人、传感器

2023-09-04 07:12:06 作者:爱、请靠边

getPower()返回所使用的传感器毫安的能力,同时在使用中:

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.

难道他珍视getPower()返回表示毫安(每小时毫安),或者其他什么东西? 如果是的话,有没有办法让电池毫安,以计算所使用的传感器电池的%?

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?

推荐答案

东西很相关的已在谷歌集团不久前讨论。你可以找到href="https://groups.google.com/group/android-developers/browse_thread/thread/6069056189b02d29"这里仅供参考rel="nofollow">全螺纹的