a quick script that checks the battery level every 2mins and shutdowns the computer if its less than 3%
copy batterysave to /bin
copy plist file to /System/Library/LaunchDaemons/
run
sudo su -chmod +x /bin/batterysavechown root:wheel /System/Library/LaunchDaemons/com.nofearl.batterysave.plist
and restart...
it uses "shutdown -h now" and its not graceful (you will loose unsaved document)
but since the sleep is not working for me, better than depleting and possibly damaging the battery..
batterysave.zip 2.27KB 157 downloads