电池/充电编程问题 [英] Battery/Charging Programming Question

查看:151
本文介绍了电池/充电编程问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我不确定这是否是发布此内容的最佳地点,但我在其他任何地方都找不到。



是否可以编程手机充电器检测手机何时达到20%,然后开始充电?但它不会在20%之前开始充电。然后它会充电到99%,然后停止充电,直到手机再次达到20%。



如果你知道如何去做这个,请告诉我。专门针对iPhone和Galaxies等最流行的手机。

即使你不能给我具体细节也许只是让我知道如何做到这一点?我不是程序员,所以也许尽量让我理解这个术语,谢谢!



-Brandon

Hi guys I'm not sure if this is the best place to post this but I couldn't find anywhere else.

Would it be possible to program a cell phone charger to detect when a phone is at 20% and then it will start charging? But it won't start charging before 20%. Then it will charge it up to 99% and then stop charging until the phone reaches 20% again.

Let me know if you have an idea how to go about this. Specifically for iPhones and Galaxies, etc. The most popular phones.
Even if you can't give me specifics maybe just give me an idea of how to do it? I am not a programmer so maybe try to keep the lingo somewhat easy for me to understand, Thanks!

-Brandon

推荐答案

无法通过系统上运行的软件控制充电过程。



充电器是手机硬件的一部分。通常有一个集成电路,无需任何软件即可完成所有充电。因此,充电时无需运行系统。但是,该IC有一些状态输出连接到电话系统(电池电量低,充电,电池充满,外部电源存在)。用于电池电压,负载电流和电池温度的附加传感器用于根据所用电池类型的放电特性估算电流放电状态。



充电算法根据某些规范在IC中硬编码(通用规范是:JEITA(日本电子和信息技术产业协会)标准,笔记本型个人计算机上安全使用二次锂离子电池指南,2007年4月20日)。



因此,即使有可能,使用其他(非标准)计费算法也不是一个好主意。
There is no ability to control the charging process by software running on the system.

The charger is part of the phone hardware. There is usually an integrated circuit that does all the charging without any software involved. So there is no need for the system to be running while charging. However, that IC has some status outputs connected to the phone system (battery low, charging, battery full, external power present). Additional sensors for battery voltage, load current, and battery temperature are used to estimate the current discharge state based on the discharge characterics of the used battery type.

The charging algorithm is hard coded in that IC according to some specification (a common specification is: JEITA (Japan Electronics and Information Technology Industries Association) Standard, A Guide to the Safe Use of Secondary Lithium Ion Batteries on Notebook–Type Personal Computers, April 20, 2007).

So it would not be a good idea to user other (non-standard) charging algorithms even if it would be possible.

这篇关于电池/充电编程问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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