我使用 intent.ACTION_BATTERY_CHANGED 检索电池温度和电压信息,我得到的值非常奇怪。我无法得到任何线索:温度 = 270 和电压 = 3782!
这些值是什么?它们有摄氏温度、华氏温度或毫伏或微伏等单位吗?
voltage- int, current battery voltage in millivolts
temperature - int, current battery temperature in tenths of a degree Centigrade
http://hi-android.info/src/com/android/server/BatteryService.java.html
你可以从上面的链接获得详细信息
本站系公益性非盈利分享网址,本文来自用户投稿,不代表码文网立场,如若转载,请注明出处
评论列表(64条)