add missing to battery functions from dlxpul