OK for anyone out there who's actually come across this thread hoping for some actual answers, here's what I've come up with. It's only been tested on my laptop, but I see no reason why it wouldn't work with others as well.
What the above script does is checks to see if the battery is below a certain percentage, in this case 90%, and turns things off when below that threshold and turns stuff back on when above the threshold.
# The threshold in percentage of when to consider the battery charged.
# The time in seconds between checks
state=$(acpi -b|sed 's/Battery 0: Unknown, //g'|sed 's/%//g') # I know it's not pretty, but it works
if [ "$state" -gt "$charged" ]
# Turn stuff on here
# Turn stuff off here