How To Access Battery Information/Percentage in Cocoa?

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

  1. macrumors 6502

    Sep 18, 2008
    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


    Jun 15, 2000

Share This Page