Added the first try at the battery library