哪些单位电池温度和电压的Andr​​oid设备Intent.BATTERY_ACTION_CHANGED什么时候?什么时候、电压、温度、电池

2023-09-04 08:47:53 作者:穷得只剩下梦想

我取出电池温度和使用意图 Intent.ACTION_BATTERY_CHANGED 和值我得到的电压信息,pretty的怪异。我找不到任何线索:温度= 270 和电压= 3782

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?

推荐答案

电压 - INT,毫伏电流电池电压

voltage- int, current battery voltage in millivolts

温度 - 诠释,在摄氏度的十分之一电流电池温度

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

从这里。

 
精彩推荐
图片推荐