Battery Gauge?

Discussion in 'iOS Programming' started by SnowLeopard2008, Jan 1, 2009.

  1. SnowLeopard2008
    Expand Collapse
    macrumors 604

    SnowLeopard2008

    Joined:
    Jul 4, 2008
    Location:
    Silicon Valley
    #1
    I'm a 15 year old programmer and had a good idea for an app. I've browsed the App Store many times and never found a battery gauge. Like how many cycles were used, battery health, etc. Basically the same info you'd find under System Profiler in the Power section. Is this possible? I'd imagine it to be pretty useful. But I have no idea how to retrieve the information (cycles, health, etc). Any one know how?
     
  2. Pring
    Expand Collapse
    macrumors 6502

    Joined:
    Sep 17, 2003
  3. SnowLeopard2008
    Expand Collapse
    thread starter macrumors 604

    SnowLeopard2008

    Joined:
    Jul 4, 2008
    Location:
    Silicon Valley
    #3
    Is it a violation of the rules? Ok, thanks. To Mods, you can close this thread.
     
  4. Pring
    Expand Collapse
    macrumors 6502

    Joined:
    Sep 17, 2003
    #4
    Not as such, just that there's no Apple sanctioned way to get that information. It may be available in some hidden API but you'd have to call methods that Apple have deemed 'private'. That's a big no-no.
     
  5. SnowLeopard2008
    Expand Collapse
    thread starter macrumors 604

    SnowLeopard2008

    Joined:
    Jul 4, 2008
    Location:
    Silicon Valley

Share This Page