What are the units for battery temperature and voltage when Intent.BATTERY_ACTION_CHANGED on android device?

☆樱花仙子☆ 提交于 2019-12-18 03:56:15

问题


I retrieved battery temperature and voltage information using the intent Intent.ACTION_BATTERY_CHANGED and the values I got are pretty weird. I could not get any clue: temperature=270 and voltage=3782!

What are these values? Do they have any units like celsius, fahrenheit or milli or micro volt?


回答1:


  • voltage- int, current battery voltage in millivolts

  • temperature - int, current battery temperature in tenths of a degree Centigrade

From here.



来源:https://stackoverflow.com/questions/4860415/what-are-the-units-for-battery-temperature-and-voltage-when-intent-battery-actio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!