How To Access Battery Information/Percentage in Cocoa?

Discussion in 'Mac Programming' started by sheepopo39, Apr 23, 2011.

  1. macrumors 6502

    Joined:
    Sep 18, 2008
    #1
    I'm wondering how to access your battery information through cocoa (such as your battery percentage, time remaining). I know that on iOS you access it through UIDevice, but I cannot think of an equivalent one for OS X, does anyone know?
     
  2. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2

Share This Page