Is it possible to "shut off" battery charging in OSX with an application rather then physically. Could this be done with AppleScript (I doubt it) or will need to be obj-c cocaococoa application? Essentially my idea is an app that'll shut off the charger when requirements are met (like the computer is in sleep mode, or the battery hasn't been drained in a few days)