I read some articles about battery life, for example http://www.wired.com/gadgetlab/2013/09/laptop-battery/

And I am curious, could I manage battery charging process? Is there a functions to manually stop charging in OS X? I found IOKit that helps to look to battery info, but I don't find such functions as stop charging / start charging.

But I also think that Apple engineers know their work very good and they already optimize battery charging / recharging process.

有帮助吗?

解决方案

After some researches, I found that there is no such API, at least there is definitely no public API for managing this kind of stuff. From the other hand, in my humble opinion this is for the best. It's better leave this API for Apple engineers and programmers.

其他提示

Iphone doesn't charge at times when you plug it into a new accessory till you unlock the phone. It is possible to do it using existing hardware but not sure how to achieve it. I don't think Apple will make the API public for sure

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top