fixed battery import