objective c - Get Battery Charge Information Programmatically -
(xcode 6, osx 10.10.3) how battery charge information of mac (charge status, battery level, cycle count, maximum charge in mah) programmatically?
hope this'll you:
it uses non-approved calls, don’t post application code or may rejected!
http://blog.coriolis.ch/2009/02/14/reading-the-battery-level-programmatically/
from apple; don't worry code: https://developer.apple.com/library/ios/samplecode/batterystatus/introduction/intro.html (with complete sample code)
Comments
Post a Comment