我在读如何拿到电池的温度和我让小的应用程序,并在我的接收器我有这样的事情
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.