fixed battery.py to catch correct exception
Playing with rake-remote_task