Android的硬件电池温度,这里是传感器? [英] Android Hardware Battery temperature, where is the sensor?

查看:405
本文介绍了Android的硬件电池温度,这里是传感器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个愚蠢的想法。与Android很简单拿到电池状态(伏,充电,温度,ECC)。

I have a stupid idea. With android is simple to get battery state (volt, charge, temperature, ecc).

BatteryManager.EXTRA_TEMPERATURE

我认为,传感器位于锂电池组里面,其实有3个引脚在它连接到手机上。或许他们中的一个是电池传感器的温度。怎么运行的?这是可能的,但的我知道,损害可能是相关的的,隔离引脚和电话引脚连接至外部传感器?

I think that the sensor is located inside lithium battery pack, in fact there are 3 pins over it connecting to the phone. Maybe that one of them is the battery sensor temperature. How it works? It's possible, but i know that damage may be relevant, isolate that pin and connect the phone pin to an external sensor?

因此​​,我们可以使用电池管理器....不使用谷歌IOIO或Arduino的赶上室外温度只是读取的温度。

So we can catch outside temperature using battery manager....without using Google IOIO or Arduino just for reading a temperature.

,只有对研究信息!请不要谈论危险的锂电池...

THAT'S ONLY FOR STUDY INFORMATION! PLEASE DON'T TALK ABOUT DANGER OF LITHIUM BATTERIES...

感谢名单了很多!

推荐答案

在理论上,是的,但电池温度是在手机的充电/放电循环的关键。通过施加恒定电流对电池进行充电手机电池。当手机正在充电时,电池温度会上升(与化学物质混合发电的副产品)。如果它上升太远,电池会失败(并可能[至少在理论上]爆炸)。

In theory, yes, but the battery temperature is critical in the charge/discharge cycle of the phone. Phone batteries charge by applying a constant current to the battery. When the phone is charging the battery temp will rise (a byproduct of mixing electricity with chemicals). If it rises too far, the battery will fail (and could [in theory at least] explode).

因此​​电话的充电电路需要监测电池温度,所以如果它上升超出一个给定的阈值,它备份充电电流关断,直到温度stablises,保证了电池保持在安全范围内。

Thus the phone's charging circuitry needs to monitor the battery temp so if it rises beyond a given threshold it backs the charging current off until the temperature stablises, ensuring the battery remains within safe limits.

在换句话说 - 如果你重写它,在你自己承担风险。

In other words -- if you do override it, do so at your own risk.

这篇关于Android的硬件电池温度,这里是传感器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆