Hi guys,
I'm just starting out with the iPhone development, so maybe I'm asking something simple. I need to programmatically retrieve some system info, such as the battery charge percentage, whether the battery is currently charging, the CPU frequency and other system info. Do you know how to do it?
I've searched the docs, but there's not a single reference to something with "battery" in the name. There are a few C functions for the Mac OSX, and even a complete BatteryInfo sample project, but nothing for the iPhone. Is that possible?
How was the BatteryInfo and HWInfo apps written for the unlocked iPhones, if there is no documented functions for this?
Any help is highly appreciated!
I'm just starting out with the iPhone development, so maybe I'm asking something simple. I need to programmatically retrieve some system info, such as the battery charge percentage, whether the battery is currently charging, the CPU frequency and other system info. Do you know how to do it?
I've searched the docs, but there's not a single reference to something with "battery" in the name. There are a few C functions for the Mac OSX, and even a complete BatteryInfo sample project, but nothing for the iPhone. Is that possible?
How was the BatteryInfo and HWInfo apps written for the unlocked iPhones, if there is no documented functions for this?
Any help is highly appreciated!