I would like to know how to have the data capacity in Mha for iPhone/iPad battery.
I would put them in an application that I intend to put on appstore and then I can not use IOKit.
Does anyone know how I can get these values?
I would like to know how to have the data capacity in Mha for
Share
From UIDevice Class Reference
An then you can add to your app an plist where you will put all battery capacity for every device, read device model and with the percentange of battery and full capacity you can get the actual value in mAH.