Pergunta

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.

Foi útil?

Solução

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.

Outras dicas

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top