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?