本文介绍了得到结果的电池温度和单位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在读如何的温度和我让小的应用程序,并在我的接收器我有这样的事情
I was reading how to get the temperature of the battery and I make small app, and in my receiver I have something like this
int temp = intent.getIntExtra("temperature", 0);
好,这温度有像390或380的东西是真正的大是摄氏值,但我认为这是很大的数字,即使华氏...
well , this temp have values like 390 or 380 something that is really big to be Celsius but I think that is big number even for Fahrenheit...
有人可以请高大什么单位,它有一个范围大等优点。
can someone please tall what is the unit, does it have a range and so on.
官方文档的所有,我发现在包含当前电池温度整数
in the official documentation all I found was "integer containing the current battery temperature"
感谢
推荐答案
的温度在摄氏度十分之一。问题here.
The temperature is in tenths of a degree centigrade. Also discussed in question here.
这篇关于得到结果的电池温度和单位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!