S sheepopo39 macrumors 6502 Original poster Sep 18, 2008 251 0 Apr 23, 2011 #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?
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?
K kainjow Moderator emeritus Jun 15, 2000 7,958 7 Apr 23, 2011 #2 Second result in google for "How To Access Battery Information in Cocoa" got me here: http://stackoverflow.com/questions/272552/battery-status-in-osx
Second result in google for "How To Access Battery Information in Cocoa" got me here: http://stackoverflow.com/questions/272552/battery-status-in-osx